/* =====================================================
   MUZAHIDUL ISLAM PORTFOLIO
   Modern Frontend Developer Portfolio
===================================================== */


/* ================= ROOT ================= */

:root {

    --bg: #070b14;
    --bg-soft: #0b1120;
    --card: #0d1424;
    --card-light: #111a2c;

    --text: #f8fafc;
    --muted: #94a3b8;

    --primary: #60a5fa;
    --primary-dark: #2563eb;

    --border: rgba(148, 163, 184, 0.13);

    --font-main: "Inter", sans-serif;
    --font-display: "Space Grotesk", sans-serif;
}


/* ================= GLOBAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--primary);
    color: #000;
}

 /* ================= NAVBAR ================= */

.navbar {
    background: rgba(7, 11, 20, 0.72);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    padding: 16px 0;

    transition:
        background 0.3s ease,
        padding 0.3s ease,
        box-shadow 0.3s ease;
}


/* ================= SCROLLED NAVBAR ================= */

.navbar.scrolled {
    background: rgba(5, 8, 16, 0.95);

    padding: 12px 0;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);
}


/* ================= BRAND ================= */

.navbar-brand {
    font-family: var(--font-display);

    font-size: 1.7rem;

    font-weight: 800;

    letter-spacing: -0.7px;

    color: var(--text);

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.navbar-brand:hover {
    color: var(--text);

    transform: translateY(-1px);
}

.navbar-brand span {
    color: var(--primary);
}


/* ================= NAV LINKS ================= */

.navbar-nav {
    align-items: center;
}

.nav-link {
    position: relative;

    padding: 8px 2px !important;

    color: #aebbd0 !important;

    font-size: 0.82rem;

    font-weight: 500;

    text-decoration: none;

    transition:
        color 0.3s ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 1px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: var(--primary);

    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary) !important;
}


/* ================= CV BUTTON ================= */

.nav-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 9px 15px;

    margin-left: 5px;

    border: 1px solid rgba(96, 165, 250, 0.35);

    border-radius: 8px;

    background: rgba(96, 165, 250, 0.05);

    color: var(--primary);

    font-size: 0.78rem;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);

    background: var(--primary);

    border-color: var(--primary);

    color: #020617;

    box-shadow:
        0 8px 22px rgba(96, 165, 250, 0.15);
}

.nav-btn i {
    font-size: 0.8rem;
}


/* ================= MOBILE TOGGLER ================= */

.navbar-toggler {
    width: 44px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.025);

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.navbar-toggler:hover {
    border-color: rgba(96, 165, 250, 0.4);

    background: rgba(96, 165, 250, 0.05);
}

.navbar-toggler:focus {
    box-shadow: none;

    border-color: var(--primary);
}

.navbar-toggler-icon {
    width: 20px;
    height: 20px;

    background-size: 20px 20px;

    filter: invert(1) brightness(1.5);
}


/* ================= MOBILE NAV ================= */

@media (max-width: 991px) {

    .navbar-collapse {
        margin-top: 15px;

        padding: 18px;

        background: rgba(7, 11, 20, 0.97);

        border: 1px solid var(--border);

        border-radius: 14px;

        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.25);
    }

    .navbar-nav {
        align-items: stretch !important;

        gap: 3px !important;
    }

    .nav-link {
        padding: 10px 8px !important;
    }

    .nav-link::after {
        display: none;
    }

    .nav-btn {
        margin: 10px 0 0;

        width: 100%;
    }

}


/* ================= HERO ================= */

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;

    background:
        radial-gradient(circle at 80% 20%,
            rgba(37, 99, 235, 0.16),
            transparent 32%),
        radial-gradient(circle at 10% 90%,
            rgba(6, 182, 212, 0.08),
            transparent 30%),
        var(--bg);
}

.hero-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: 0.12;

    pointer-events: none;
}

.glow-one {
    background: #2563eb;

    top: 5%;
    right: 5%;
}

.glow-two {
    background: #06b6d4;

    bottom: -20%;
    left: -10%;
}


/* ================= AVAILABILITY ================= */

.availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 13px;

    border: 1px solid rgba(96, 165, 250, 0.22);

    border-radius: 50px;

    background: rgba(96, 165, 250, 0.06);

    color: #b8c8dc;

    font-size: 0.75rem;

    margin-bottom: 30px;

    backdrop-filter: blur(10px);
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow: 0 0 12px #22c55e;

    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {

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

    50% {
        opacity: 0.55;
        transform: scale(1.25);
    }
}


/* ================= HERO TEXT ================= */

.hero-small {
    color: var(--primary);

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 12px;
}

.hero-title {
    font-family: var(--font-display);

    font-size: clamp(3.5rem, 8vw, 7rem);

    font-weight: 700;

    line-height: 0.95;

    letter-spacing: -5px;

    margin-bottom: 20px;
}

.hero-title span {
    display: block;

    color: var(--primary);
}

.hero-role {
    font-family: var(--font-display);

    font-size: clamp(1.4rem, 3vw, 2rem);

    color: #d7e0ec;

    margin-bottom: 25px;
}

.hero-description {
    max-width: 620px;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.9;

    margin-bottom: 35px;
}


/* ================= HERO BUTTONS ================= */

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.btn-main,
.btn-outline {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 13px 22px;

    border-radius: 8px;

    font-size: 0.9rem;

    font-weight: 600;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-main {
    background: var(--primary);

    color: #020617;

    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.12);
}

.btn-main:hover {
    background: #93c5fd;

    color: #020617;

    transform: translateY(-3px);

    box-shadow: 0 14px 35px rgba(96, 165, 250, 0.2);
}

.btn-outline {
    border: 1px solid var(--border);

    color: #d7e0ec;
}

.btn-outline:hover {
    border-color: var(--primary);

    color: var(--primary);

    transform: translateY(-3px);
}


/* ================= HERO SOCIAL ================= */

.hero-social {
    display: flex;

    gap: 12px;

    margin-top: 35px;
}

.hero-social a,
.footer-social a {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--muted);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        background 0.3s ease;
}

.hero-social a:hover,
.footer-social a:hover {
    border-color: var(--primary);

    color: var(--primary);

    background: rgba(96, 165, 250, 0.06);

    transform: translateY(-3px);
}


/* ================= PROFILE ================= */

.profile-wrapper {
    position: relative;

    width: 100%;

    max-width: 390px;

    margin: auto;

    padding: 20px;
}

.profile-card {
    position: relative;

    padding: 10px;

    border: 1px solid rgba(96, 165, 250, 0.25);

    border-radius: 25px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.02));

    backdrop-filter: blur(15px);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4);

    animation: profileFloat 5s ease-in-out infinite;
}

@keyframes profileFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.profile-top {
    display: flex;

    gap: 6px;

    padding: 8px 10px;
}

.profile-top span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #64748b;
}

.profile-image {
    height: 430px;

    overflow: hidden;

    border-radius: 18px;

    background: transparent;
}

.profile-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center bottom;

    display: block;

    transition: transform 0.6s ease;
}

.profile-card:hover .profile-image img {
    transform: scale(1.025);
}

.profile-info {
    padding: 20px 15px 12px;
}

.profile-info p {
    margin: 0 0 5px;

    color: var(--primary);

    font-size: 0.75rem;

    text-transform: uppercase;

    letter-spacing: 2px;
}

.profile-info h3 {
    font-family: var(--font-display);

    font-size: 1.4rem;

    margin-bottom: 7px;
}

.profile-info span {
    color: var(--muted);

    font-size: 0.8rem;
}


/* ================= FLOATING SKILL CARDS ================= */

.floating-card {
    position: absolute;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 11px 15px;

    background: rgba(17, 24, 39, 0.92);

    border: 1px solid var(--border);

    border-radius: 10px;

    color: #dbeafe;

    font-size: 0.75rem;

    font-weight: 600;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(10px);

    z-index: 5;
}

.floating-card i {
    color: var(--primary);

    font-size: 1rem;
}

.card-html {
    left: -20px;

    top: 25%;

    animation: floatingHTML 4s ease-in-out infinite;
}

.card-js {
    right: -20px;

    bottom: 25%;

    animation: floatingJS 4.5s ease-in-out infinite;
}

@keyframes floatingHTML {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatingJS {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}


/* ================= SECTION ================= */

.section-padding {
    padding: 120px 0;
}

.dark-section {
    background: #090f1b;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 65px;
}

.section-label {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.7rem);
    line-height: 1.05;
    letter-spacing: -2px;
}

.section-heading h2 span {
    color: var(--primary);
}


/* ================= ABOUT ================= */

.about-large {
    max-width: 760px;

    font-family: var(--font-display);

    font-size: clamp(1.5rem, 3vw, 2.2rem);

    font-weight: 500;

    line-height: 1.4;

    letter-spacing: -0.5px;

    margin-bottom: 25px;
}

.about-text {
    max-width: 720px;

    color: var(--muted);

    line-height: 1.9;

    margin-bottom: 15px;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    position: relative;

    color: var(--primary);

    font-weight: 600;

    margin-top: 20px;

    text-decoration: none;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.text-link:hover {
    color: #bfdbfe;

    gap: 14px;
}


/* ================= STATS ================= */

.stats-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.stat-card {
    position: relative;

    padding: 25px;

    min-height: 175px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid var(--border);

    border-radius: 16px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.stat-card::before {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    top: -45px;
    right: -45px;

    border-radius: 50%;

    background: rgba(96, 165, 250, 0.08);

    filter: blur(5px);

    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-7px);

    border-color: rgba(96, 165, 250, 0.4);

    background:
        linear-gradient(
            145deg,
            rgba(96, 165, 250, 0.07),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.2);
}


/* ================= STAT ICON ================= */

.stat-icon {
    display: inline-flex;

    width: 40px;
    height: 40px;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: rgba(96, 165, 250, 0.08);

    border: 1px solid rgba(96, 165, 250, 0.12);

    color: var(--primary);

    margin-bottom: 20px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.08);

    background: rgba(96, 165, 250, 0.13);
}


/* ================= STAT NUMBER ================= */

.stat-card h3 {
    font-family: var(--font-display);

    font-size: 1.8rem;

    font-weight: 700;

    margin-bottom: 6px;

    color: var(--text);
}

.stat-card p {
    color: var(--muted);

    font-size: 0.8rem;

    line-height: 1.5;

    margin: 0;
}


/* ================= ABOUT RESPONSIVE ================= */

@media (max-width: 767px) {

    .about-large {
        font-size: 1.45rem;

        line-height: 1.5;
    }

    .about-text {
        font-size: 0.92rem;

        line-height: 1.8;
    }

    .stats-grid {
        gap: 12px;
    }

    .stat-card {
        min-height: 155px;

        padding: 20px;
    }

    .stat-card h3 {
        font-size: 1.55rem;
    }

}


/* ================= SKILLS ================= */

.skill-card {
    position: relative;

    height: 100%;

    min-height: 330px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid var(--border);

    border-radius: 18px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.skill-card::before {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    top: -65px;
    right: -65px;

    border-radius: 50%;

    background: rgba(96, 165, 250, 0.08);

    filter: blur(5px);

    pointer-events: none;
}

.skill-card:hover {
    transform: translateY(-8px);

    border-color: rgba(96, 165, 250, 0.4);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.25);
}


/* ================= SKILL TOP ================= */

.skill-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 22px;
}

.skill-icon {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: rgba(96, 165, 250, 0.08);

    border: 1px solid rgba(96, 165, 250, 0.12);

    color: var(--primary);

    font-size: 1.7rem;

    margin-bottom: 0;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.08);

    background: rgba(96, 165, 250, 0.13);
}


/* ================= SKILL LEVEL ================= */

.skill-level {
    padding: 5px 9px;

    border-radius: 6px;

    background: rgba(96, 165, 250, 0.08);

    border: 1px solid rgba(96, 165, 250, 0.15);

    color: var(--primary);

    font-size: 0.7rem;

    font-weight: 700;
}


/* ================= SKILL TITLE ================= */

.skill-card h3 {
    font-family: var(--font-display);

    font-size: 1.3rem;

    margin-bottom: 10px;
}


/* ================= SKILL DESCRIPTION ================= */

.skill-card p {
    color: var(--muted);

    font-size: 0.85rem;

    line-height: 1.7;

    min-height: 58px;

    margin-bottom: auto;
}


/* ================= SKILL PROGRESS ================= */

.skill-line {
    height: 4px;

    background: #172033;

    border-radius: 10px;

    margin: 25px 0 10px;

    overflow: hidden;
}

.skill-line span {
    display: block;

    height: 100%;

    border-radius: 10px;

    background: var(--primary);

    transform-origin: left;

    animation: skillProgress 1.2s ease-out;
}

@keyframes skillProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}


/* ================= SKILL CATEGORY ================= */

.skill-card small {
    color: #64748b;

    font-size: 0.7rem;

    letter-spacing: 0.3px;
}


/* ================= ADDITIONAL SKILLS ================= */

.additional-skills {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 35px;
}

.additional-skills span {
    padding: 9px 14px;

    border: 1px solid var(--border);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.015);

    color: var(--muted);

    font-size: 0.75rem;

    transition:
        border-color 0.3s ease,
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.additional-skills span:hover {
    border-color: rgba(96, 165, 250, 0.35);

    color: var(--primary);

    background: rgba(96, 165, 250, 0.05);

    transform: translateY(-2px);
}


/* ================= SKILLS RESPONSIVE ================= */

@media (max-width: 767px) {

    .skill-card {
        min-height: 300px;

        padding: 25px;
    }

    .skill-card p {
        min-height: auto;

        margin-bottom: 20px;
    }

    .additional-skills {
        margin-top: 25px;
    }

}


/* ================= EXPERIENCE ================= */

.timeline {
    position: relative;

    max-width: 900px;

    margin: auto;

    padding: 10px 0;
}


/* ================= TIMELINE LINE ================= */

.timeline::before {
    content: "";

    position: absolute;

    left: 7px;
    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            var(--border) 8%,
            var(--border) 92%,
            transparent
        );
}


/* ================= TIMELINE ITEM ================= */

.timeline-item {
    position: relative;

    padding-left: 55px;

    margin-bottom: 45px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}


/* ================= TIMELINE DOT ================= */

.timeline-dot {
    position: absolute;

    left: 0;
    top: 28px;

    width: 15px;
    height: 15px;

    border-radius: 50%;

    background: var(--bg);

    border: 3px solid var(--primary);

    box-shadow:
        0 0 0 5px rgba(96, 165, 250, 0.08),
        0 0 22px rgba(96, 165, 250, 0.45);

    z-index: 2;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* ================= TIMELINE CONTENT ================= */

.timeline-content {
    position: relative;

    padding: 28px 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid var(--border);

    border-radius: 16px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.timeline-content:hover {
    transform: translateX(6px);

    border-color: rgba(96, 165, 250, 0.35);

    background:
        linear-gradient(
            145deg,
            rgba(96, 165, 250, 0.055),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.18);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.15);

    box-shadow:
        0 0 0 6px rgba(96, 165, 250, 0.1),
        0 0 28px rgba(96, 165, 250, 0.6);
}


/* ================= TIMELINE DATE ================= */

.timeline-date {
    display: inline-flex;

    align-items: center;

    padding: 6px 10px;

    margin-bottom: 16px;

    border: 1px solid rgba(96, 165, 250, 0.15);

    border-radius: 6px;

    background: rgba(96, 165, 250, 0.07);

    color: var(--primary);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 1.5px;
}


/* ================= JOB TITLE ================= */

.timeline-content h3 {
    font-family: var(--font-display);

    font-size: 1.55rem;

    font-weight: 700;

    color: var(--text);

    margin-bottom: 6px;
}


/* ================= COMPANY ================= */

.timeline-content h4 {
    color: #cbd5e1;

    font-size: 0.9rem;

    font-weight: 500;

    line-height: 1.5;

    margin-bottom: 15px;
}


/* ================= DESCRIPTION ================= */

.timeline-content p {
    max-width: 700px;

    color: var(--muted);

    font-size: 0.88rem;

    line-height: 1.8;

    margin: 0;
}


/* ================= EXPERIENCE RESPONSIVE ================= */

@media (max-width: 767px) {

    .timeline {
        padding: 5px 0;
    }

    .timeline::before {
        left: 6px;
    }

    .timeline-item {
        padding-left: 35px;

        margin-bottom: 30px;
    }

    .timeline-dot {
        left: 0;

        top: 25px;

        width: 13px;
        height: 13px;

        border-width: 2px;
    }

    .timeline-content {
        padding: 22px 20px;

        border-radius: 14px;
    }

    .timeline-content:hover {
        transform: translateY(-4px);
    }

    .timeline-date {
        font-size: 0.62rem;

        letter-spacing: 1.2px;

        padding: 5px 8px;
    }

    .timeline-content h3 {
        font-size: 1.3rem;
    }

    .timeline-content h4 {
        font-size: 0.82rem;
    }

    .timeline-content p {
        font-size: 0.82rem;

        line-height: 1.75;
    }

}


 /* ================= EDUCATION ================= */

.education-list {
    max-width: 900px;

    margin: auto;

    display: flex;

    flex-direction: column;

    gap: 18px;
}


/* ================= EDUCATION CARD ================= */

.education-card {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 22px;

    padding: 28px 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid var(--border);

    border-radius: 16px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.education-card:hover {
    transform: translateY(-5px);

    border-color: rgba(96, 165, 250, 0.35);

    background:
        linear-gradient(
            145deg,
            rgba(96, 165, 250, 0.055),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.18);
}


/* ================= EDUCATION ICON ================= */

.education-icon {
    flex-shrink: 0;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(96, 165, 250, 0.08);

    border: 1px solid rgba(96, 165, 250, 0.14);

    color: var(--primary);

    font-size: 1.35rem;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.education-card:hover .education-icon {
    transform: scale(1.08);

    background: rgba(96, 165, 250, 0.13);
}


/* ================= EDUCATION MAIN ================= */

.education-main {
    flex: 1;
}


/* ================= EDUCATION TOP ================= */

.education-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 14px;
}


/* ================= EDUCATION YEAR ================= */

.education-year {
    display: inline-flex;

    align-items: center;

    padding: 6px 10px;

    border-radius: 6px;

    background: rgba(96, 165, 250, 0.07);

    border: 1px solid rgba(96, 165, 250, 0.15);

    color: var(--primary);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 1.5px;
}


/* ================= CURRENT STATUS ================= */

.education-status {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #94a3b8;

    font-size: 0.7rem;

    font-weight: 600;
}

.education-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}


/* ================= EDUCATION TITLE ================= */

.education-card h3 {
    font-family: var(--font-display);

    color: var(--text);

    font-size: 1.35rem;

    font-weight: 700;

    line-height: 1.4;

    margin-bottom: 8px;
}


/* ================= INSTITUTE ================= */

.education-card p {
    color: var(--muted);

    font-size: 0.88rem;

    line-height: 1.7;

    margin-bottom: 12px;
}


/* ================= RESULT ================= */

.education-card .result {
    display: inline-flex;

    align-items: center;

    padding: 5px 9px;

    border-radius: 5px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid var(--border);

    color: #94a3b8;

    font-size: 0.68rem;

    font-weight: 600;
}


/* ================= CURRENT EDUCATION ================= */

.current-education {
    border-color: rgba(96, 165, 250, 0.22);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.12);
}


/* ================= EDUCATION RESPONSIVE ================= */

@media (max-width: 767px) {

    .education-list {
        gap: 14px;
    }

    .education-card {
        gap: 16px;

        padding: 22px 20px;

        border-radius: 14px;
    }

    .education-icon {
        width: 44px;
        height: 44px;

        font-size: 1.1rem;

        border-radius: 10px;
    }

    .education-top {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;

        margin-bottom: 12px;
    }

    .education-card h3 {
        font-size: 1.15rem;
    }

    .education-card p {
        font-size: 0.82rem;
    }

    .education-status {
        font-size: 0.65rem;
    }

}

/* ================= PROJECTS ================= */

/* ================= PROJECT CARDS ================= */

.project-card {
    position: relative;
    height: 100%;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 20px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.project-card:hover {
    transform: translateY(-8px);

    border-color: rgba(96, 165, 250, 0.45);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25);
}


/* ================= PROJECT NUMBER ================= */

.project-number {
    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 5;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(7, 11, 20, 0.85);

    border: 1px solid rgba(255, 255, 255, 0.12);

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    backdrop-filter: blur(10px);
}


/* ================= PROJECT THUMB ================= */

.project-thumb {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #0b1220;
}

.project-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
    transform: scale(1.05);
}


/* ================= PROJECT INFO ================= */

.project-info {
    padding: 28px;
}


/* ================= PROJECT TAGS ================= */

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 18px;
}

.project-tags span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 6px 10px;

    border-radius: 7px;

    background: rgba(96, 165, 250, 0.08);

    border: 1px solid rgba(96, 165, 250, 0.15);

    color: var(--muted);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.5px;
}


/* ================= PROJECT TITLE ================= */

.project-info h3 {
    margin-bottom: 12px;

    color: var(--text);

    font-family: "Space Grotesk", sans-serif;

    font-size: 24px;

    font-weight: 700;
}


/* ================= PROJECT DESCRIPTION ================= */

.project-info p {
    margin-bottom: 22px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


/* ================= PROJECT BUTTONS ================= */

.project-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: auto;
}

.project-link {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    padding: 10px 15px;

    border: 1px solid var(--border);

    border-radius: 8px;

    color: var(--text);

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.project-link:hover {
    background: rgba(96, 165, 250, 0.08);

    border-color: rgba(96, 165, 250, 0.4);

    transform: translateY(-2px);

    color: #60a5fa;
}

.project-link i {
    font-size: 14px;
}


/* ================= DIGITAL CLOCK PREVIEW ================= */

.thumb-clock {
    text-decoration: none;
}

.clock-preview {
    width: 100%;
    height: 100%;

    min-height: 260px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    background:
        radial-gradient(circle at center,
            rgba(96, 165, 250, 0.12),
            transparent 65%);

    color: #fff;

    transition: transform 0.5s ease;
}

.project-card:hover .clock-preview {
    transform: scale(1.02);
}

.clock-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(96, 165, 250, 0.1);

    border: 1px solid rgba(96, 165, 250, 0.25);

    font-size: 24px;

    color: #60a5fa;
}

.clock-text {
    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    color: var(--muted);
}

.clock-time {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(28px, 5vw, 48px);

    font-weight: 700;

    letter-spacing: 2px;

    color: #fff;
}


/* ================= PROJECT NOTE ================= */

.project-note {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 28px;

    padding: 15px 18px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.02);

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.project-note i {
    flex-shrink: 0;

    margin-top: 3px;

    color: #60a5fa;
}


/* ================= PROJECT RESPONSIVE ================= */

@media (max-width: 767px) {

    .project-info {
        padding: 22px;
    }

    .project-info h3 {
        font-size: 21px;
    }

    .project-info p {
        font-size: 13px;
    }

    .project-number {
        top: 14px;
        right: 14px;

        width: 38px;
        height: 38px;

        font-size: 12px;
    }

    .clock-preview {
        min-height: 220px;
    }

}

.project-number {
    position: absolute;

    top: 18px;
    right: 20px;

    z-index: 3;

    color: rgba(255, 255, 255, 0.3);

    font-family: var(--font-display);

    font-size: 0.9rem;
}

.project-preview {
    height: 280px;

    padding: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at center,
            rgba(96, 165, 250, 0.15),
            transparent 60%);
}

.preview-window {
    width: 90%;
    height: 75%;

    background: #101827;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.preview-bar {
    height: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: #151e2e;
}

.preview-content {
    padding: 25px;

    display: grid;

    grid-template-columns: 1.5fr 1fr;

    gap: 10px;
}

.preview-content div {
    height: 45px;

    border-radius: 6px;

    background: rgba(96, 165, 250, 0.15);
}

.preview-content div:first-child {
    grid-row: span 2;
    height: 100px;
}

.project-info {
    padding: 25px;
}

.project-info>div {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.project-info>div span {
    padding: 5px 9px;

    border-radius: 50px;

    background: rgba(96, 165, 250, 0.08);

    color: var(--primary);

    font-size: 0.6rem;

    letter-spacing: 1px;
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.project-info p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.85rem;
}

.project-link {
    display: inline-flex;
    gap: 8px;

    color: var(--primary);

    font-size: 0.85rem;

    font-weight: 600;

    margin-top: 10px;
}

.project-note {
    margin-top: 25px;

    color: #64748b;

    font-size: 0.8rem;
}


/* ================= CONTACT ================= */

.contact-section {
    position: relative;

    overflow: hidden;
}


/* ================= CONTACT BOX ================= */

.contact-box {
    position: relative;

    padding: 65px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(96, 165, 250, 0.12),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid var(--border);

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.2);
}

.contact-box::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -90px;
    bottom: -110px;

    border-radius: 50%;

    background: rgba(96, 165, 250, 0.08);

    filter: blur(10px);

    pointer-events: none;
}


/* ================= CONTACT HEADING ================= */

.contact-box h2 {
    max-width: 650px;

    font-family: var(--font-display);

    font-size: clamp(2.4rem, 5vw, 4.5rem);

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -2px;

    margin: 15px 0 25px;
}

.contact-box h2 span {
    display: block;

    color: var(--primary);
}


/* ================= CONTACT INTRO ================= */

.contact-intro {
    max-width: 600px;

    color: var(--muted);

    font-size: 0.95rem;

    line-height: 1.9;

    margin-bottom: 30px;
}


/* ================= CONTACT CTA ================= */

.contact-cta {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 20px;

    border-radius: 8px;

    background: var(--primary);

    color: #020617;

    font-size: 0.85rem;

    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(96, 165, 250, 0.12);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-cta:hover {
    transform: translateY(-3px);

    background: #93c5fd;

    color: #020617;

    box-shadow:
        0 15px 35px rgba(96, 165, 250, 0.2);
}


/* ================= CONTACT DETAILS ================= */

.contact-details {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


/* ================= CONTACT ITEM ================= */

.contact-item {
    position: relative;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 17px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.025);

    color: var(--text);

    text-decoration: none;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);

    border-color: rgba(96, 165, 250, 0.35);

    background: rgba(96, 165, 250, 0.05);

    color: var(--text);
}


/* ================= CONTACT ICON ================= */

.contact-icon {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(96, 165, 250, 0.08);

    border: 1px solid rgba(96, 165, 250, 0.13);

    color: var(--primary);

    font-size: 1rem;
}


/* ================= CONTACT TEXT ================= */

.contact-item div {
    min-width: 0;

    flex: 1;
}

.contact-item small {
    display: block;

    margin-bottom: 4px;

    color: #64748b;

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.contact-item strong {
    display: block;

    color: #dbe4f0;

    font-size: 0.8rem;

    font-weight: 600;

    line-height: 1.5;

    overflow-wrap: anywhere;
}


/* ================= CONTACT ARROW ================= */

.contact-arrow {
    flex-shrink: 0;

    color: #64748b;

    font-size: 0.8rem;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.contact-item:hover .contact-arrow {
    transform: translate(2px, -2px);

    color: var(--primary);
}


/* ================= CONTACT RESPONSIVE ================= */

@media (max-width: 991px) {

    .contact-box {
        padding: 45px;
    }

}

@media (max-width: 767px) {

    .contact-box {
        padding: 30px 22px;

        border-radius: 18px;
    }

    .contact-box h2 {
        font-size: 2.4rem;

        letter-spacing: -1px;
    }

    .contact-intro {
        font-size: 0.88rem;

        line-height: 1.8;
    }

    .contact-item {
        padding: 14px;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
    }

    .contact-item strong {
        font-size: 0.74rem;
    }

}


 /* ================= FOOTER ================= */

footer {
    padding: 60px 0 25px;

    background:
        linear-gradient(
            to bottom,
            #070b14,
            #050810
        );

    border-top: 1px solid rgba(255, 255, 255, 0.03);
}


/* ================= FOOTER CONTENT ================= */

.footer-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding-bottom: 35px;

    border-bottom: 1px solid var(--border);
}


/* ================= FOOTER BRAND ================= */

.footer-brand {
    min-width: 220px;
}

.footer-logo {
    display: inline-block;

    font-family: var(--font-display);

    color: #fff;

    font-size: 1.8rem;

    font-weight: 800;

    letter-spacing: -0.5px;

    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-logo:hover {
    color: var(--primary);
}

.footer-logo span {
    color: var(--primary);

    transition: color 0.3s ease;
}

.footer-brand p {
    color: #64748b;

    font-size: 0.75rem;

    margin: 7px 0 0;
}


/* ================= FOOTER LINKS ================= */

.footer-links {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 20px;
}

.footer-links a {
    color: #94a3b8;

    font-size: 0.75rem;

    font-weight: 500;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);

    transform: translateY(-2px);
}


/* ================= FOOTER SOCIAL ================= */

.footer-social {
    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: #94a3b8;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        background 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-4px);

    border-color: var(--primary);

    color: var(--primary);

    background: rgba(96, 165, 250, 0.06);
}


/* ================= FOOTER BOTTOM ================= */

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;
}

.footer-bottom p {
    color: #475569;

    font-size: 0.68rem;

    line-height: 1.6;

    margin: 0;
}


/* ================= SCROLL ================= */

.scroll-indicator {
    position: absolute;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    color: #475569;

    font-size: 0.55rem;
    letter-spacing: 2px;
}

.scroll-indicator i {
    color: var(--primary);
}


 /* ================= RESPONSIVE ================= */

@media (max-width: 991px) {

    /* HERO */

    .hero-section {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-title {
        letter-spacing: -3px;
    }

    .profile-wrapper {
        margin-top: 60px;
    }


    /* NAVBAR */

    .navbar-collapse {
        padding: 18px;
    }

    .nav-btn {
        margin-top: 10px;
    }


    /* SCROLL INDICATOR */

    .scroll-indicator {
        display: none;
    }


    /* CONTACT */

    .contact-box {
        padding: 45px;
    }

}


/* ================= TABLET / MOBILE ================= */

@media (max-width: 767px) {

    /* GENERAL */

    .section-padding {
        padding: 80px 0;
    }


    /* HERO */

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

   .profile-image {
        height: 380px;
    }


    /* FLOATING SKILL CARDS */

    .card-html {
        left: -10px;
    }

    .card-js {
        right: -10px;
    }


    /* CONTACT */

    .contact-box {
        padding: 35px 25px;
    }


    /* EDUCATION */

    .education-card {
        gap: 16px;
    }


    /* FOOTER */

    .footer-content,
    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 575px) {

    /* HERO */

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

   .profile-image {
        height: 330px;
    }


    /* ABOUT */

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }


    /* FLOATING CARDS */

    .floating-card {
        font-size: 0.65rem;

        padding: 8px 10px;
    }


    /* SECTION HEADINGS */

    .section-heading {
        gap: 12px;
    }

    .section-heading h2 {
        font-size: 2.3rem;
    }


    /* PROJECT BUTTONS */

    .project-buttons {
        gap: 10px;
    }


    /* FOOTER */

    .footer-content,
    .footer-bottom {
        align-items: flex-start;
    }

}


/* ================= ACCESSIBILITY ================= */

/* Skip link */

.skip-link {
    position: fixed;

    top: -60px;
    left: 16px;

    z-index: 2000;

    padding: 10px 16px;

    background: var(--primary);

    color: #020617;

    border-radius: 8px;

    font-weight: 600;

    text-decoration: none;

    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}


/* Keyboard focus */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);

    outline-offset: 3px;
}


/* ================= PROJECT EXTRA POLISH ================= */

.disabled-link {
    opacity: 0.5;

    cursor: default;
}


/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;

        transition: none !important;
    }

}


/* ================= HERO NAVBAR CLEARANCE ================= */

/*
   Keeps the hero content clear of the fixed navbar.
*/

.hero-section {
    padding-top: 90px;
}

/* ================= POLISHED PORTFOLIO MOTION ================= */
html { scroll-behavior: smooth; }

@keyframes portfolioFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes portfolioGlowDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18px, 16px, 0) scale(1.06); }
}
.hero-section .hero-content { animation: portfolioFadeUp .8s ease both; }
.hero-section .profile-wrapper { animation: portfolioFadeUp .9s .12s ease both; }
.hero-glow { animation: portfolioGlowDrift 12s ease-in-out infinite; }
.project-card, .service-card, .skill-card, .contact-card, .stat-card {
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.project-card:hover, .service-card:hover, .skill-card:hover, .contact-card:hover, .stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}
.project-card img, .project-image img { transition: transform .45s ease; }
.project-card:hover img, .project-image:hover img { transform: scale(1.04); }
.hero-buttons a, .hero-social a, .btn, button { transition: transform .22s ease, filter .22s ease; }
.hero-buttons a:hover, .hero-social a:hover, .btn:hover, button:hover { transform: translateY(-2px); }
nav a { transition: color .2s ease, opacity .2s ease; }
nav a:hover { opacity: .78; }

/* Reveal elements on entry without hiding content when JavaScript is unavailable. */
@media (prefers-reduced-motion: no-preference) {
  .section-heading, .projects-grid, .project-grid, .services-grid, .skills-grid {
    animation: portfolioFadeUp .7s ease both;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


/* Premium cursor interaction — only enabled for desktop fine pointers */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body { cursor: none; }
    a, button, input, textarea, select, [role="button"] { cursor: none; }
    .custom-cursor-dot,
    .custom-cursor-ring {
        position: fixed;
        top: -5px;
        left: -5px;
        z-index: 99999;
        pointer-events: none;
        border-radius: 50%;
        will-change: transform;
    }
    .custom-cursor-dot {
        width: 10px;
        height: 10px;
        margin: 0;
        background: #d8a94b;
        box-shadow: 0 0 0 3px rgba(216,169,75,.12);
    }
    .custom-cursor-ring {
        width: 34px;
        height: 34px;
        margin: -12px 0 0 -12px;
        border: 1px solid rgba(216,169,75,.75);
        transition: width .22s ease, height .22s ease, margin .22s ease, background .22s ease, border-color .22s ease;
    }
    .custom-cursor-ring.is-hovering {
        width: 48px;
        height: 48px;
        margin: -19px 0 0 -19px;
        background: rgba(216,169,75,.10);
        border-color: #d8a94b;
    }
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
