/* ===============================
   ROOT VARIABLES
================================= */

:root {
    --bg: #090909;
    --bg-secondary: #111111;
    --card: rgba(255, 255, 255, 0.06);
    --card-light: rgba(255, 255, 255, 0.1);

    --primary: #b11226;
    --primary-dark: #7d0716;
    --cherry: #d91c3f;
    --pink: #ff9bad;
    --soft-pink: #ffd8df;

    --white: #ffffff;
    --text: #e5e5e5;
    --muted: #a7a7a7;

    --border: rgba(255, 255, 255, 0.12);

    --shadow:
        0 20px 60px rgba(0, 0, 0, 0.45);

    --transition: all 0.35s ease;
}


/* ===============================
   LIGHT MODE
================================= */

body.light-mode {
    --bg: #fff7f8;
    --bg-secondary: #ffffff;
    --card: rgba(255, 255, 255, 0.75);
    --card-light: rgba(255, 255, 255, 0.9);

    --white: #171717;
    --text: #343434;
    --muted: #686868;

    --border: rgba(177, 18, 38, 0.15);
}


/* ===============================
   RESET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: var(--transition);
}

body::selection {
    background: var(--primary);
    color: white;
}

/* ===============================
   CUSTOM SCROLLBAR
================================= */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--cherry) 100%);
    border-radius: 10px;
    border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--cherry) 0%, var(--pink) 100%);
}

body.light-mode ::-webkit-scrollbar-track {
    background: #fff7f8;
}

body.light-mode ::-webkit-scrollbar-thumb {
    border-color: #fff7f8;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


/* ===============================
   GENERAL
================================= */

.container {
    width: min(1150px, 90%);
    margin: auto;
    position: relative;
    z-index: 2;
}

.section {
    padding: 110px 0;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-heading p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    background: rgba(255, 155, 173, 0.08);
    border: 1px solid rgba(255, 155, 173, 0.22);
    border-radius: 50px;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.76rem;
    font-weight: 600;
    margin-bottom: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 18px rgba(177, 18, 38, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.section-heading p:hover {
    border-color: rgba(255, 155, 173, 0.45);
    box-shadow: 0 6px 22px rgba(217, 28, 63, 0.2);
    transform: translateY(-2px);
}

.section-heading h2 {
    font-family: "Playfair Display", serif;
    color: var(--white);
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.section-heading h2 span {
    background: linear-gradient(
        135deg,
        var(--pink) 0%,
        var(--cherry) 50%,
        #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--pink);
}

.heading-line {
    width: 0;
    opacity: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary),
        var(--pink),
        var(--cherry),
        transparent
    );
    margin: 20px auto 0;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 12px rgba(255, 155, 173, 0.45);
    transition: width 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.85s ease 0.15s;
}

.section-heading.active .heading-line,
.reveal.active .heading-line {
    width: 90px;
    opacity: 1;
}


/* ===============================
   SCROLL PROGRESS BAR
================================= */

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(
        90deg,
        var(--primary-dark) 0%,
        var(--primary) 25%,
        var(--cherry) 60%,
        var(--pink) 100%
    );
    box-shadow: 0 0 10px rgba(255, 155, 173, 0.6), 0 0 20px rgba(217, 28, 63, 0.4);
    z-index: 10005;
    pointer-events: none;
    transition: width 0.1s ease-out;
}


/* ===============================
   BACKGROUND GLOW ORBS
================================= */

.bg-orbs-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.15;
    pointer-events: none;
    will-change: transform;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #b11226, #7d0716);
    top: -100px;
    right: -100px;
    animation: orbFloat1 22s ease-in-out infinite alternate;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #d91c3f, #ff9bad);
    top: 45%;
    left: -150px;
    opacity: 0.11;
    animation: orbFloat2 26s ease-in-out infinite alternate;
}

.orb-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #5a0814, #b11226);
    bottom: 5%;
    right: 5%;
    opacity: 0.13;
    animation: orbFloat3 20s ease-in-out infinite alternate;
}

.orb-4 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #ff9bad, #ffd8df);
    top: 22%;
    left: 38%;
    opacity: 0.06;
    animation: orbFloat1 30s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 60px) scale(1.08); }
    100% { transform: translate(30px, -40px) scale(0.95); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
    100% { transform: translate(-30px, 40px) scale(0.92); }
}

@keyframes orbFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -40px) scale(1.06); }
    100% { transform: translate(40px, 30px) scale(0.94); }
}


/* ===============================
   MOUSE FOLLOW GLOW
================================= */

.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(217, 28, 63, 0.13) 0%,
        rgba(255, 155, 173, 0.05) 35%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: transform;
}

@media (max-width: 768px), (hover: none), (pointer: coarse) {
    .mouse-glow {
        display: none !important;
    }
}


/* ===============================
   CUSTOM CURSOR (DESKTOP ONLY)
================================= */

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--pink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10003;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--pink), 0 0 18px var(--cherry);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(255, 155, 173, 0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10002;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease;
    will-change: transform;
}

.cursor-ring.active {
    width: 48px;
    height: 48px;
    border-color: var(--cherry);
    background: rgba(255, 155, 173, 0.12);
}

@media (max-width: 768px), (hover: none), (pointer: coarse) {
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}


/* ===============================
   PRELOADER (LUXURY FIZA LOADER)
================================= */

.preloader {
    position: fixed;
    inset: 0;
    background: #070707;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.loader-text {
    font-family: "Cinzel", "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 12px;
    padding-left: 12px;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        var(--soft-pink) 35%,
        var(--cherry) 70%,
        var(--primary) 100%
    );
    -webkit-background-clip: text;
    color: transparent;
    animation: loaderPulse 1.3s ease-in-out infinite alternate;
}

.loader-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--pink),
        var(--cherry),
        transparent
    );
    animation: loaderExpand 1.3s ease-in-out infinite alternate;
}

@keyframes loaderPulse {
    0% {
        transform: scale(0.96);
        filter: drop-shadow(0 0 4px rgba(255, 155, 173, 0.3));
    }
    100% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 18px rgba(255, 155, 173, 0.8));
    }
}

@keyframes loaderExpand {
    0% {
        width: 30px;
        opacity: 0.4;
    }
    100% {
        width: 90px;
        opacity: 1;
    }
}


/* ===============================
   NAVBAR
================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(9, 9, 9, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(9, 9, 9, 0.88);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(177, 18, 38, 0.1);
}

.nav-container {
    width: min(1200px, 92%);
    min-height: 78px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 2px;
}

.logo span {
    color: var(--cherry);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    color: var(--text);
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 0;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--pink)
    );
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--pink);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.theme-toggle {
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--pink);

    width: 40px;
    height: 40px;

    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: rotate(20deg);
    background: var(--primary);
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 27px;
    height: 2px;
    background: var(--white);
    margin: 5px;
    transition: var(--transition);
}


/* ===============================
   HERO
================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(177, 18, 38, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 60%,
            rgba(255, 90, 120, 0.12),
            transparent 30%
        ),
        var(--bg);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content .hello-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: rgba(255, 155, 173, 0.08);
    border: 1px solid rgba(255, 155, 173, 0.22);
    border-radius: 50px;
    color: var(--pink);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(177, 18, 38, 0.1);
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.hero-content .hello-text::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25), 0 0 10px #10b981;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25), 0 0 10px #10b981;
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1), 0 0 16px #10b981;
    }
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(3.2rem, 7vw, 6.3rem);
    line-height: 1;
    color: var(--white);
    margin-bottom: 20px;
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}

.hero h1 span {
    display: block;
    background: linear-gradient(
        90deg,
        var(--pink),
        var(--cherry),
        #ffffff
    );

    -webkit-background-clip: text;
    color: transparent;
}

.typing-container {
    font-size: 1.25rem;
    color: var(--pink);
    min-height: 35px;
    font-weight: 600;
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

.cursor {
    color: var(--cherry);
    animation: blink 0.8s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-description {
    color: var(--muted);
    line-height: 1.9;
    max-width: 670px;
    margin: 25px 0 30px;
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.55s backwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.7s backwards;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ===============================
   BUTTONS
================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 25px;
    border-radius: 50px;

    font-size: 0.9rem;
    font-weight: 600;

    transition: var(--transition);
    will-change: transform;
}

.btn:active,
.primary-btn:active,
.secondary-btn:active,
.project-buttons a:active {
    transform: scale(0.96) !important;
}

.btn i,
.primary-btn i,
.secondary-btn i {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover i,
.primary-btn:hover i {
    transform: translateX(4px);
}

.primary-btn {
    color: white;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--cherry)
    );

    box-shadow:
        0 10px 30px rgba(177, 18, 38, 0.3);
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow:
        0 15px 40px rgba(217, 28, 63, 0.45);
}

.secondary-btn {
    border: 1px solid var(--border);
    color: var(--white);
    background: var(--card);
}

.secondary-btn:hover {
    background: var(--card-light);
    transform: translateY(-4px);
}


/* ===============================
   PREMIUM RESUME BUTTONS DESIGN
================================= */

.btn-resume {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(
        135deg,
        #9b0d1e 0%,
        var(--primary) 28%,
        var(--cherry) 72%,
        #e8254c 100%
    );
    background-size: 200% auto;
    color: #ffffff !important;
    letter-spacing: 0.3px;
    box-shadow:
        0 10px 28px rgba(177, 18, 38, 0.38),
        0 0 18px rgba(217, 28, 63, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);
    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background-position 0.6s ease;
    animation: resumeGlowPulse 3.5s infinite ease-in-out;
}

/* Ensure text and icon stay above lighting layers */
.btn-resume i,
.btn-resume span {
    position: relative;
    z-index: 2;
}

/* Shimmer beam sweep */
.btn-resume::before {
    content: "";
    position: absolute;
    top: 0;
    left: -140%;
    width: 90%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent 15%,
        rgba(255, 255, 255, 0.08) 35%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0.08) 65%,
        transparent 85%
    );
    transform: skewX(-22deg);
    pointer-events: none;
    z-index: 1;
    animation: resumeShimmer 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Dynamic cursor-following spotlight overlay */
.btn-resume::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        110px circle at var(--btn-x, 50%) var(--btn-y, 50%),
        rgba(255, 255, 255, 0.28),
        transparent 70%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Hover State */
.btn-resume:hover {
    background-position: right center;
    border-color: rgba(255, 255, 255, 0.48);
    box-shadow:
        0 14px 40px rgba(217, 28, 63, 0.6),
        0 0 30px rgba(255, 155, 173, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.55);
    animation: none;
}

.btn-resume:hover::after {
    opacity: 1;
}

.btn-resume:hover::before {
    animation: resumeShimmerFast 0.8s ease-out;
}

/* Reset default translateX on icon hover for specialized animations */
.btn-resume:hover i {
    transform: none;
}

/* Download icon bounce animation on hover */
.btn-resume:hover .fa-download {
    animation: resumeDownloadBounce 0.8s ease infinite;
}

/* Eye icon scan & pulse animation on hover */
.btn-resume:hover .fa-eye {
    animation: resumeEyeGaze 1.1s ease infinite;
}

/* Micro-animations Keyframes */
@keyframes resumeShimmer {
    0% {
        left: -140%;
    }
    30%, 100% {
        left: 170%;
    }
}

@keyframes resumeShimmerFast {
    0% {
        left: -140%;
    }
    100% {
        left: 170%;
    }
}

@keyframes resumeGlowPulse {
    0%, 100% {
        box-shadow:
            0 10px 28px rgba(177, 18, 38, 0.38),
            0 0 18px rgba(217, 28, 63, 0.2),
            inset 0 1px 1px rgba(255, 255, 255, 0.35);
    }
    50% {
        box-shadow:
            0 12px 34px rgba(217, 28, 63, 0.52),
            0 0 25px rgba(255, 155, 173, 0.3),
            inset 0 1px 1px rgba(255, 255, 255, 0.45);
    }
}

@keyframes resumeDownloadBounce {
    0%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(4px);
    }
    70% {
        transform: translateY(-1.5px);
    }
}

@keyframes resumeEyeGaze {
    0%, 100% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.22) rotate(-8deg);
    }
    60% {
        transform: scale(1.15) rotate(6deg);
    }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .btn-resume,
    .btn-resume::before,
    .btn-resume:hover .fa-download,
    .btn-resume:hover .fa-eye {
        animation: none !important;
    }
}


/* ===============================
   SOCIAL LINKS
================================= */

.social-links {
    display: flex;
    gap: 13px;
    margin-top: 30px;
}

.hero-content .social-links {
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.85s backwards;
}

.social-links a {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    border: 1px solid var(--border);

    color: var(--pink);
    background: var(--card);

    transition: var(--transition);
    will-change: transform;
}

.social-links a:hover {
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--cherry)
    );

    color: white;
    transform: translateY(-5px);
}

.social-links a:active {
    transform: scale(0.92) translateY(-2px);
}


/* ===============================
   HERO IMAGE
================================= */

.hero-image-area {
    position: relative;
    display: flex;
    justify-content: center;
    animation: heroFadeScale 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards;
}

.profile-wrapper {
    width: min(390px, 85vw);
    aspect-ratio: 0.8;

    position: relative;
    z-index: 2;

    padding: 10px;

    border-radius: 45% 55% 50% 50% / 45% 45% 55% 55%;

    background: linear-gradient(
        135deg,
        var(--pink),
        var(--primary),
        transparent
    );

    animation: float 5.5s ease-in-out infinite;
    will-change: transform;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;

    border-radius: inherit;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.55);
}

.profile-glow {
    position: absolute;
    inset: -30px;
    z-index: -1;

    background: radial-gradient(
        circle,
        rgba(217, 28, 63, 0.45),
        transparent 65%
    );

    filter: blur(20px);
    animation: glowPulse 4.5s ease-in-out infinite alternate;
    will-change: transform, opacity, filter;
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.97);
        filter: blur(18px);
    }
    100% {
        opacity: 0.85;
        transform: scale(1.06);
        filter: blur(28px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

}

.image-decoration {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 155, 173, 0.25);
}

.circle-one {
    width: 480px;
    height: 480px;
}

.circle-two {
    width: 550px;
    height: 550px;
    border-style: dashed;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.floating-card {
    position: absolute;
    z-index: 5;

    background: rgba(18, 18, 22, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;

    padding: 12px 18px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--white);
    font-size: 0.82rem;
    font-weight: 500;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 20px rgba(217, 28, 63, 0.15);
    animation: floatCard 4.5s ease-in-out infinite;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.floating-card:hover {
    border-color: rgba(255, 155, 173, 0.5);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.55), 0 0 30px rgba(217, 28, 63, 0.3);
    transform: translateY(-8px) scale(1.04);
}

.floating-card i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(177, 18, 38, 0.35), rgba(255, 155, 173, 0.15));
    border: 1px solid rgba(255, 155, 173, 0.3);
    border-radius: 12px;
    color: var(--pink);
    font-size: 0.95rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.floating-card:hover i {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--cherry));
    color: white;
}

.card-one {
    left: -40px;
    top: 22%;
}

.card-two {
    right: -50px;
    bottom: 20%;
    animation-delay: 1s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* ===============================
   BACKGROUND SHAPES
================================= */

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.4;
}

.shape-1 {
    width: 260px;
    height: 260px;
    background: var(--primary);
    top: 10%;
    left: -100px;
    filter: blur(100px);
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: #ff5f83;
    right: -100px;
    bottom: 0;
    filter: blur(130px);
}

.shape-3 {
    width: 180px;
    height: 180px;
    background: #6d0011;
    top: 45%;
    left: 40%;
    filter: blur(100px);
}

.particles span {
    position: absolute;
    color: var(--pink);
    opacity: 0.5;
    animation: particle 5s ease-in-out infinite;
}

.particles span:nth-child(1) {
    top: 18%;
    left: 10%;
}

.particles span:nth-child(2) {
    top: 30%;
    right: 8%;
    animation-delay: 1s;
}

.particles span:nth-child(3) {
    bottom: 18%;
    left: 12%;
    animation-delay: 2s;
}

.particles span:nth-child(4) {
    top: 12%;
    right: 35%;
}

.particles span:nth-child(5) {
    bottom: 10%;
    right: 25%;
}

.particles span:nth-child(6) {
    top: 55%;
    left: 45%;
}

@keyframes particle {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-25px) rotate(180deg);
    }

}


/* ===============================
   ABOUT
================================= */

.about {
    background: var(--bg-secondary);
}

.about-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 70px;
}

.about-image-frame {
    max-width: 400px;
    margin: auto;
    position: relative;
}

.about-image-frame::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--cherry);
    border-radius: 32px;
    top: 20px;
    left: 20px;
    z-index: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.about-image-frame:hover::before {
    transform: translate(6px, 6px);
    border-color: var(--pink);
}

.about-image-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-radius: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-frame:hover img {
    transform: translate(-4px, -4px);
}

.about-content h3 {
    font-family: "Playfair Display", serif;
    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.25;
    margin-bottom: 20px;
}

.about-content h3 span {
    background: linear-gradient(135deg, var(--pink), var(--cherry));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--pink);
}

.about-content > p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.info-card {
    margin: 32px 0;
    padding: 26px;

    background: var(--card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid var(--border);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;

    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

.info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 155, 173, 0.12),
        transparent 50%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    border-color: rgba(255, 155, 173, 0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 25px rgba(217, 28, 63, 0.15);
}

.info-item {
    position: relative;
    z-index: 2;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 155, 173, 0.08);
    border-color: rgba(255, 155, 173, 0.28);
    transform: translateY(-2px);
}

.info-item span {
    display: block;
    color: var(--pink);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item strong {
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 600;
}


/* ===============================
   SKILLS
================================= */

.skills {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(177, 18, 38, 0.1),
            transparent 30%
        ),
        var(--bg);
}

.skills-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(255, 255, 255, 0.18);

    padding: 30px 24px;
    border-radius: 24px;

    text-align: center;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

.skill-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 155, 173, 0.12),
        transparent 50%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover {
    border-color: rgba(255, 155, 173, 0.5);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.4), 0 0 25px rgba(217, 28, 63, 0.2);
}

.skill-icon {
    width: 64px;
    height: 64px;

    margin: auto auto 20px;

    display: grid;
    place-items: center;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(177, 18, 38, 0.45),
            rgba(255, 155, 173, 0.12)
        );

    border: 1px solid rgba(255, 155, 173, 0.25);
    color: var(--pink);
    font-size: 1.6rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.skill-card:hover .skill-icon {
    transform: translateY(-6px) scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--cherry));
    color: white;
    box-shadow: 0 10px 25px rgba(217, 28, 63, 0.45);
}

.skill-card h3 {
    color: var(--white);
    font-size: 0.95rem;
    min-height: 50px;
    position: relative;
    z-index: 2;
}

.progress {
    width: 100%;
    height: 8px;

    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;

    overflow: visible;

    margin: 14px 0 8px;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

body.light-mode .progress {
    background: rgba(177, 18, 38, 0.09);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.progress-bar {
    width: 0;
    height: 100%;

    border-radius: 50px;

    background:
        linear-gradient(
            90deg,
            var(--primary-dark) 0%,
            var(--primary) 30%,
            var(--cherry) 65%,
            var(--pink) 100%
        );

    position: relative;
    transition: width 2.8s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 8px rgba(217, 28, 63, 0.35);
}

/* Subtle, elegant glow effect while increasing */
.progress-bar.animating {
    box-shadow:
        0 0 14px rgba(217, 28, 63, 0.75),
        0 0 26px rgba(255, 155, 173, 0.5),
        0 0 38px rgba(177, 18, 38, 0.35);
}

/* Leading luminous edge at the head of the progress bar */
.progress-bar::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow:
        0 0 6px #ffffff,
        0 0 12px var(--pink),
        0 0 18px var(--cherry);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.progress-bar.animating::after {
    opacity: 1;
}

.progress-bar.completed {
    box-shadow: 0 0 8px rgba(217, 28, 63, 0.3);
}

.percentage {
    color: var(--pink);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.percentage.animating {
    color: var(--soft-pink);
    text-shadow: 0 0 8px rgba(255, 155, 173, 0.6);
}


/* ===============================
   EXPERIENCE
================================= */

.experience {
    background: var(--bg-secondary);
}

.timeline {
    max-width: 850px;
    margin: auto;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;

    width: 2px;
    height: 100%;

    left: 50%;
    transform: translateX(-50%);

    background:
        linear-gradient(
            var(--primary),
            var(--pink),
            var(--primary)
        );
}

.timeline-item {
    width: 50%;
    position: relative;
    padding: 20px 45px;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-content {
    position: relative;

    padding: 30px;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 20px;

    backdrop-filter: blur(15px);

    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

.timeline-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 155, 173, 0.09),
        transparent 50%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content:hover {
    box-shadow: var(--shadow), 0 0 20px rgba(217, 28, 63, 0.15);
    border-color: rgba(255, 155, 173, 0.4);
}

.timeline-icon {
    position: absolute;

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--cherry)
        );

    border-radius: 50%;
    color: white;
    border: 3px solid var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(255, 155, 173, 0.3), 0 0 20px rgba(217, 28, 63, 0.45);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    z-index: 2;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.12);
    box-shadow: 0 0 0 4px rgba(255, 155, 173, 0.5), 0 0 30px rgba(217, 28, 63, 0.7);
}

.left .timeline-icon {
    right: -70px;
    top: 30px;
}

.right .timeline-icon {
    left: -70px;
    top: 30px;
}

.timeline-date {
    color: var(--pink);
    font-size: 0.75rem;
}

.timeline-content h3 {
    font-family: "Playfair Display", serif;
    color: var(--white);
    font-size: 1.4rem;
    margin: 8px 0;
}

.timeline-content h4 {
    color: var(--cherry);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.timeline-content p,
.timeline-content li {
    color: var(--muted);
    line-height: 1.8;
    font-size: 0.85rem;
}

.timeline-content ul {
    padding-left: 18px;
}

.timeline-content li {
    list-style: disc;
}


/* ===============================
   PROJECTS
================================= */

.projects {
    background: var(--bg);
}

.projects-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
}

.project-card {
    background: var(--card);

    border: 1px solid var(--border);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;

    overflow: hidden;
    position: relative;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 155, 173, 0.12),
        transparent 55%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.project-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 42%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 58%
    );
    transform: rotate(25deg) translateY(-100%);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 3;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover::after {
    transform: rotate(25deg) translateY(100%);
}

.project-card:hover {
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(217, 28, 63, 0.22);
    border-color: rgba(255, 155, 173, 0.45);
}

.project-image {
    height: 200px;
    position: relative;
    display: grid;
    place-items: center;

    font-size: 3.8rem;
    color: rgba(255, 255, 255, 0.9);

    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.project-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-coffee {
    background:
        linear-gradient(
            135deg,
            #25120b,
            #7b1e1e,
            #d08a50
        );
}

.project-careerconnect,
.project-hotel {
    background:
        linear-gradient(
            135deg,
            #33040c 0%,
            #5a0814 18%,
            #8e0e22 36%,
            #b11226 52%,
            #d91c3f 70%,
            #ff8da1 88%,
            #ffd9e0 100%
        );
}

.project-interior {
    background:
        linear-gradient(
            135deg,
            #28201c,
            #7a5140,
            #d9b69c
        );
}

.project-content {
    padding: 26px;
    position: relative;
    z-index: 4;
}

.project-content h3 {
    font-family: "Playfair Display", serif;
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.project-content > span {
    display: inline-block;

    color: var(--pink);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.5px;

    margin-bottom: 20px;
}

.project-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-buttons a {
    padding: 9px 18px;

    border-radius: 50px;

    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;

    background: rgba(177, 18, 38, 0.18);
    border: 1px solid rgba(255, 155, 173, 0.28);

    color: var(--pink);
    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-buttons a:hover {
    background: linear-gradient(135deg, var(--primary), var(--cherry));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(217, 28, 63, 0.4);
}


/* ===============================
   SERVICES
================================= */

.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 25px;
}

.service-card {
    padding: 38px 30px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.015) 100%
        );

    border: 1px solid var(--border);
    border-top: 1px solid rgba(255, 255, 255, 0.18);

    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 155, 173, 0.12),
        transparent 50%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    border-color: rgba(255, 155, 173, 0.45);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(217, 28, 63, 0.2);
}

.service-card > i {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(177, 18, 38, 0.35), rgba(255, 155, 173, 0.1));
    border: 1px solid rgba(255, 155, 173, 0.25);
    font-size: 1.5rem;
    color: var(--pink);
    margin-bottom: 22px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.service-card:hover > i {
    transform: translateY(-5px) scale(1.08);
    background: linear-gradient(135deg, var(--primary), var(--cherry));
    color: white;
    box-shadow: 0 10px 25px rgba(217, 28, 63, 0.45);
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}


/* ===============================
   ACHIEVEMENTS
================================= */

.achievements {
    background:
        linear-gradient(
            135deg,
            rgba(70, 0, 15, 0.9),
            rgba(150, 10, 40, 0.75),
            rgba(30, 5, 10, 0.95)
        );

    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(200px, 1fr));

    gap: 25px;
}

.stat-card {
    text-align: center;

    padding: 38px 24px;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 1px solid rgba(255, 255, 255, 0.25);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;

    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.12),
        transparent 50%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 155, 173, 0.28);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-card i {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(177, 18, 38, 0.4), rgba(255, 155, 173, 0.15));
    border: 1px solid rgba(255, 155, 173, 0.25);
    color: var(--pink);
    font-size: 1.5rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
    position: relative;
    z-index: 2;
}

.stat-card:hover i {
    transform: translateY(-4px) scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--cherry));
    color: white;
    box-shadow: 0 10px 25px rgba(217, 28, 63, 0.45);
}

.stat-card h2 {
    color: white;
    font-family: "Cinzel", "Playfair Display", serif;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ffffff 30%, var(--soft-pink) 70%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card p {
    color: #f2c7cf;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}


/* ===============================
   CONTACT
================================= */

.contact {
    background: var(--bg);
}

.contact-intro {
    max-width: 650px;
    margin: -45px auto 55px;

    text-align: center;
    color: var(--muted);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;

    background: var(--card);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 32px;
    padding: 50px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 40px rgba(177, 18, 38, 0.1);
}

.contact-info h3 {
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 0.88rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-bottom: 25px;
}

.contact-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--cherry)
        );

    color: white;
    box-shadow: 0 8px 20px rgba(177, 18, 38, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 25px rgba(217, 28, 63, 0.5);
}

.contact-item span {
    display: block;
    color: var(--pink);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
    color: var(--text);
    font-size: 0.85rem;
    line-height: 1.7;
}

.contact-social {
    margin-top: 25px;
}


/* ===============================
   FORM
================================= */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 16px 20px;

    border-radius: 14px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    background: rgba(255, 255, 255, 0.04);

    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;

    outline: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--pink);
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
        0 0 0 4px rgba(255, 155, 173, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.error {
    color: #ff6f85;
    font-size: 0.7rem;
    margin-left: 5px;
}

.form-message {
    text-align: center;
    color: #74e8a7;
    font-size: 0.85rem;
}


/* ===============================
   FOOTER
================================= */

.footer {
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    padding: 70px 0 25px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink), var(--cherry), transparent);
    box-shadow: 0 0 15px rgba(255, 155, 173, 0.6);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;

    padding-bottom: 45px;
}

.footer-brand h2 {
    font-family: "Cinzel", serif;
    color: white;
}

.footer-brand h2 span {
    color: var(--cherry);
}

.footer-brand p {
    color: #999;
    font-size: 0.85rem;
    margin-top: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer h3 {
    color: var(--pink);
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    font-size: 0.82rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--pink);
    padding-left: 5px;
}

.footer-social .social-links {
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;

    text-align: center;
}

.footer-bottom p {
    color: #777;
    font-size: 0.78rem;
}


/* ===============================
   SCROLL TOP
================================= */

.scroll-top {
    position: fixed;

    bottom: 25px;
    right: 25px;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--cherry)
        );

    color: white;

    cursor: pointer;

    z-index: 999;

    opacity: 0;
    visibility: hidden;

    transition: var(--transition);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}


/* ===============================
   SCROLL REVEAL
================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }


/* ===============================
   RESPONSIVE TABLET
================================= */

@media (max-width: 950px) {

    .nav-links {
        position: fixed;

        top: 78px;
        right: -100%;

        width: min(320px, 85vw);
        height: calc(100vh - 78px);

        flex-direction: column;
        align-items: flex-start;

        padding: 50px 30px;

        background: rgba(12, 12, 12, 0.97);
        backdrop-filter: blur(20px);

        border-left: 1px solid var(--border);

        transition: 0.4s ease;
    }

    .nav-links.show {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-image-area {
        order: 1;
    }

    .hero-buttons,
    .hero-content .social-links {
        justify-content: center;
    }

    .profile-wrapper {
        width: min(330px, 75vw);
    }

    .about-image {
        margin-bottom: 20px;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-item,
    .timeline-item.right {
        width: 100%;
        left: 0;
        padding-left: 70px;
        padding-right: 0;
    }

    .left .timeline-icon,
    .right .timeline-icon {
        left: -70px;
        right: auto;
    }

    .timeline-content {
        margin-left: 0;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

}


/* ===============================
   RESPONSIVE MOBILE
================================= */

@media (max-width: 600px) {

    .section {
        padding: 80px 0;
    }

    .nav-container {
        min-height: 70px;
    }

    .nav-links {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .logo {
        font-size: 1rem;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-container {
        gap: 30px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 0.86rem;
        line-height: 1.8;
    }

    .typing-container {
        font-size: 1rem;
    }

    .floating-card {
        display: none;
    }

    .profile-wrapper {
        width: 270px;
    }

    .circle-one {
        width: 330px;
        height: 330px;
    }

    .circle-two {
        width: 390px;
        height: 390px;
    }

    .section-heading {
        margin-bottom: 50px;
    }

    .section-heading h2 {
        font-size: 2.4rem;
    }

    .about-image-frame img {
        height: 400px;
    }

    .info-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item,
    .timeline-item.right {
        padding-left: 55px;
    }

    .timeline::before {
        left: 15px;
    }

    .left .timeline-icon,
    .right .timeline-icon {
        width: 38px;
        height: 38px;

        left: -59px;
    }

    .contact-container {
        padding: 25px 20px;
    }

    .contact-info h3 {
        font-size: 1.7rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .scroll-top {
        width: 42px;
        height: 42px;

        bottom: 18px;
        right: 18px;
    }

}


/* ===============================
   RESUME SECTION
================================= */

.resume {
    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(177, 18, 38, 0.12),
            transparent 35%
        ),
        var(--bg-secondary);
}

.resume-container {
    max-width: 900px;
    margin: auto;

    background: var(--card);
    border: 1px solid var(--border);

    backdrop-filter: blur(18px);

    border-radius: 25px;

    overflow: hidden;

    box-shadow: var(--shadow);
}

.resume-header {

    text-align: center;

    padding: 50px 30px;

    background:
        linear-gradient(
            135deg,
            rgba(90, 0, 15, 0.95),
            rgba(177, 18, 38, 0.75),
            rgba(30, 5, 10, 0.95)
        );

    border-bottom:
        1px solid rgba(255,255,255,0.1);
}

.resume-header h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size: 2.8rem;

    color: white;

    margin-bottom: 10px;
}

.resume-header > p {

    color: var(--soft-pink);

    font-size: 0.9rem;

    margin-bottom: 25px;
}

.resume-contact {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 20px;
}

.resume-contact span {

    color: #f4d5db;

    font-size: 0.8rem;
}

.resume-contact i {

    color: var(--pink);

    margin-right: 6px;
}


/* Resume Blocks */

.resume-block {

    padding: 35px 45px;

    border-bottom:
        1px solid var(--border);
}

.resume-block:last-of-type {

    border-bottom: none;
}

.resume-block h3 {

    display: flex;

    align-items: center;

    gap: 12px;

    font-family:
        "Playfair Display",
        serif;

    color: var(--pink);

    font-size: 1.6rem;

    margin-bottom: 20px;
}

.resume-block h3 i {

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    font-size: 1rem;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--cherry)
        );

    color: white;
}

.resume-block > p {

    color: var(--muted);

    line-height: 1.9;

    font-size: 0.9rem;
}


/* Resume Items */

.resume-item {

    padding: 20px;

    margin-bottom: 15px;

    border-left:
        3px solid var(--cherry);

    background:
        rgba(255,255,255,0.03);

    border-radius:
        0 12px 12px 0;

    transition:
        var(--transition);
}

.resume-item:hover {

    transform:
        translateX(8px);

    background:
        rgba(177,18,38,0.08);
}

.resume-item h4 {

    color: var(--white);

    font-size: 1.05rem;

    margin-bottom: 7px;
}

.resume-item span {

    display: block;

    color: var(--pink);

    font-size: 0.8rem;

    margin-bottom: 12px;
}

.resume-item p,
.resume-item li {

    color: var(--muted);

    font-size: 0.85rem;

    line-height: 1.8;
}

.resume-item ul {

    padding-left: 20px;

    margin-top: 10px;
}

.resume-item li {

    list-style: disc;

    margin-bottom: 5px;
}


/* Resume Skills */

.resume-skills {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.resume-skills span {

    padding: 10px 16px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(177,18,38,0.18),
            rgba(255,155,173,0.08)
        );

    border:
        1px solid rgba(255,155,173,0.2);

    color: var(--pink);

    font-size: 0.78rem;

    transition:
        var(--transition);
}

.resume-skills span:hover {

    transform:
        translateY(-4px);

    background:
        var(--primary);

    color: white;
}


/* Resume Button */

.resume-button {

    text-align: center;

    padding: 35px;
}


/* Resume Block Mobile */

@media (max-width: 600px) {

    .resume-header {
        padding: 40px 20px;
    }

    .resume-header h2 {
        font-size: 2.2rem;
    }

    .resume-contact {
        flex-direction: column;
        gap: 10px;
    }

    .resume-block {
        padding: 28px 20px;
    }

    .resume-block h3 {
        font-size: 1.35rem;
    }

}


/* ===============================
   MULTI-PAGE INNER PAGE STYLES
================================ */

.page-banner {
    padding: 155px 0 65px;
    text-align: center;
    position: relative;
    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(177, 18, 38, 0.22),
            transparent 70%
        ),
        var(--bg);
}

.page-banner-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-banner-tag {
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
}

.page-banner h1 {
    font-family: "Playfair Display", serif;
    color: var(--white);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 15px;
}

.page-banner h1 span {
    color: var(--cherry);
}

.page-banner p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 9px 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.84rem;
    backdrop-filter: blur(10px);
}

.breadcrumb-nav a {
    color: var(--pink);
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--white);
}

.breadcrumb-nav span {
    color: var(--muted);
}

.page-section-tight {
    padding-top: 60px;
}

/* Page Section CTA Banner */
.page-cta {
    background: var(--bg-secondary);
    padding: 85px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(217, 28, 63, 0.15),
        transparent 70%
    );
    filter: blur(40px);
    z-index: 0;
}

.page-cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.page-cta h2 {
    font-family: "Playfair Display", serif;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.page-cta h2 span {
    color: var(--cherry);
}

.page-cta p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.page-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.section-view-all {
    text-align: center;
    margin-top: 45px;
}


/* ===============================
   ACCESSIBILITY: REDUCED MOTION
================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .cursor-dot,
    .cursor-ring,
    .mouse-glow,
    .bg-orbs-container,
    .particles {
        display: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .heading-line {
        width: 85px !important;
        opacity: 1 !important;
    }

    .project-card,
    .service-card,
    .skill-card,
    .info-card,
    .stat-card,
    .timeline-content {
        transform: none !important;
    }
}