/* =============================================
   PREMIUM DARK THEME (2025)
   Clean • Modern • Purple Accents
================================================ */
:root {
    /* Premium Dark Theme Palette */
    --bg-dark: #0B0F19;
    --bg-card: #111827;
    --bg-glass: rgba(17, 24, 39, 0.6);
    /* More transparent for better blur */

    --primary: #8B5CF6;
    --primary-hover: #7C3AED;
    --primary-glow: rgba(139, 92, 246, 0.4);

    --secondary: #10B981;

    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(139, 92, 246, 0.4);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
    min-height: 100vh;
    letter-spacing: -0.01em;
    /* Tighter tracking for modern feel */
}

/* Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* Selection Color */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: #fff;
}

/* =============================================
   PREMIUM AMBIENT BACKGROUND
================================================ */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(135deg, #0A0A0F 0%, #1A1A2E 50%, #0F0F1E 100%);
}

/* Grain texture overlay for premium feel */
.ambient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: floatPremium 25s infinite ease-in-out alternate;
    will-change: transform;
    mix-blend-mode: screen;
}

/* Gradient orbs with premium color palette */
.orb-1 {
    top: -20%;
    left: -15%;
    width: min(65vw, 700px);
    height: min(65vw, 700px);
    background: radial-gradient(circle,
            rgba(139, 92, 246, 0.5) 0%,
            rgba(124, 58, 237, 0.3) 40%,
            transparent 70%);
    animation-duration: 30s;
}

.orb-2 {
    bottom: -20%;
    right: -15%;
    width: min(75vw, 800px);
    height: min(75vw, 800px);
    background: radial-gradient(circle,
            rgba(236, 72, 153, 0.4) 0%,
            rgba(219, 39, 119, 0.3) 40%,
            transparent 70%);
    animation-delay: -7s;
    animation-duration: 35s;
}

.orb-3 {
    top: 35%;
    right: 15%;
    width: min(45vw, 500px);
    height: min(45vw, 500px);
    background: radial-gradient(circle,
            rgba(6, 182, 212, 0.35) 0%,
            rgba(14, 165, 233, 0.25) 40%,
            transparent 70%);
    animation-delay: -12s;
    animation-duration: 28s;
}

.orb-4 {
    top: 10%;
    left: 40%;
    width: min(35vw, 400px);
    height: min(35vw, 400px);
    background: radial-gradient(circle,
            rgba(168, 85, 247, 0.25) 0%,
            rgba(147, 51, 234, 0.15) 40%,
            transparent 70%);
    animation-delay: -18s;
    opacity: 0.2;
    animation-duration: 32s;
}

/* Shimmer accent elements */
.shimmer-accent {
    position: absolute;
    width: 2px;
    height: 200px;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    animation: shimmer 8s infinite ease-in-out;
    opacity: 0.3;
}

.shimmer-1 {
    top: 20%;
    left: 25%;
    transform: rotate(20deg);
}

.shimmer-2 {
    top: 60%;
    right: 30%;
    transform: rotate(-15deg);
    animation-delay: -4s;
}

@keyframes floatPremium {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    25% {
        transform: translate(40px, 60px) scale(1.05) rotate(5deg);
    }

    50% {
        transform: translate(-30px, 40px) scale(0.95) rotate(-3deg);
    }

    75% {
        transform: translate(20px, -30px) scale(1.02) rotate(4deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.1;
        transform: translateY(0) rotate(20deg);
    }

    50% {
        opacity: 0.3;
        transform: translateY(-20px) rotate(20deg);
    }
}

/* =============================================
   PREMIUM TYPOGRAPHY
================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-weight: 700;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
}

h5 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
}

h6 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

a:hover {
    color: rgba(139, 92, 246, 1);
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 1), rgba(236, 72, 153, 1));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover::after {
    width: 100%;
}

/* =============================================
   PREMIUM SECTIONS
================================================ */
section {
    position: relative;
    padding: clamp(80px, 12vw, 160px) clamp(24px, 6vw, 80px);
}

/* Subtle section dividers */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
}

section:first-of-type::before {
    display: none;
}

/* =============================================
   PREMIUM SCROLLBAR
================================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 15, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            rgba(139, 92, 246, 0.6) 0%,
            rgba(236, 72, 153, 0.6) 100%);
    border-radius: 10px;
    border: 2px solid rgba(10, 10, 15, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
            rgba(139, 92, 246, 0.8) 0%,
            rgba(236, 72, 153, 0.8) 100%);
}

/* =============================================
   GLASS MORPHISM UTILITY
================================================ */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* =============================================
   MOBILE OPTIMIZATIONS
================================================ */
@media (max-width: 768px) {
    .ambient-orb {
        filter: blur(80px);
        opacity: 0.25;
    }

    .orb-1 {
        width: 90vw;
        height: 90vw;
        max-width: 450px;
        max-height: 450px;
    }

    .orb-2 {
        width: 95vw;
        height: 95vw;
        max-width: 480px;
        max-height: 480px;
    }

    .orb-3 {
        width: 70vw;
        height: 70vw;
        max-width: 350px;
        max-height: 350px;
    }

    .orb-4 {
        display: none;
    }

    .shimmer-accent {
        display: none;
    }

    @keyframes floatPremium {

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

        50% {
            transform: translate(20px, 30px) scale(1.02);
        }
    }

    section {
        padding: clamp(50px, 10vw, 100px) 20px;
    }

    ::-webkit-scrollbar {
        width: 6px;
    }

    h1 {
        letter-spacing: -0.03em;
    }
}

@media (max-width: 480px) {
    .ambient-orb {
        filter: blur(60px);
        opacity: 0.2;
    }

    .ambient-bg::before {
        opacity: 0.02;
    }
}

/* =============================================
   TABLET OPTIMIZATIONS
================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    section {
        padding: clamp(100px, 14vw, 140px) clamp(40px, 8vw, 70px);
    }
}

/* =============================================
   LARGE SCREENS
================================================ */
@media (min-width: 1920px) {
    .ambient-orb {
        filter: blur(150px);
    }

    .orb-1 {
        width: 900px;
        height: 900px;
    }

    .orb-2 {
        width: 1000px;
        height: 1000px;
    }

    .orb-3 {
        width: 700px;
        height: 700px;
    }

    .orb-4 {
        width: 600px;
        height: 600px;
    }
}

/* =============================================
   PERFORMANCE & ACCESSIBILITY
================================================ */
@media (prefers-reduced-motion: reduce) {

    .ambient-orb,
    .shimmer-accent {
        animation: none;
    }

    a::after {
        transition: none;
    }
}

@media (hover: none) and (pointer: coarse) {
    .ambient-orb {
        filter: blur(70px);
        opacity: 0.2;
    }

    a::after {
        display: none;
    }
}

/* =============================================
   DARK MODE ENHANCEMENTS
================================================ */
@media (prefers-color-scheme: dark) {
    .ambient-bg {
        background: linear-gradient(135deg, #050508 0%, #0F0F1A 50%, #080810 100%);
    }
}

/* =============================================
   UTILITIES & ANIMATIONS
================================================ */
.text-purple {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #9CA3AF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-darker {
    background-color: #080C14;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}


/* ============================================================
   PREMIUM NEON-GLASS NAVBAR (2025 UPGRADE)
=============================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 1.2rem 0;

    background: rgba(8, 8, 12, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);

    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
    transition: 0.3s ease-in-out;
}

/* Subtle top glossy highlight */
.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;

    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0) 100%);
}

/* Brand */
.navbar-brand {
    font-family: "Outfit", sans-serif;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff !important;
    text-shadow: 0 0 12px rgba(0, 255, 240, 0.4);
}

/* Brand Colored Angle Brackets */
.navbar-brand span {
    background-image: linear-gradient(45deg, #00f3ff, #bc13fe);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* Nav Links */
.nav-link {
    position: relative;
    margin-left: 2.2rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65) !important;
    transition: 0.25s ease;
}

/* Neon underline */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;

    background: linear-gradient(90deg, #00f3ff, #bc13fe);
    box-shadow: 0 0 22px rgba(0, 255, 240, 0.6);

    transition: width 0.28s ease-in-out;
}

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

/* Hover effect */
.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
}

/* Mobile toggler styling */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    filter: brightness(160%);
}

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

/* =============================================
   BUTTONS
================================================ */
.btn-custom {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #A78BFA;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #7C3AED);
    transition: var(--transition-fast);
    z-index: -1;
}

.btn-custom:hover::before {
    width: 100%;
}

.btn-custom:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.btn-outline-custom {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-outline-custom:hover {
    border-color: var(--text-main);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

/* =============================================
   HERO SECTION
================================================ */
/* ======================================================
   PREMIUM 2025 HERO SECTION
======================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* ========== LEFT CONTENT ========== */
.hero-content {
    max-width: 650px;
    z-index: 5;
}

/* Small purple subtitle pill */
.hero-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    color: #C4B5FD;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    padding: 8px 18px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 40px;

    backdrop-filter: blur(10px);
}

/* Large Gradient Name */
.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.04;
    letter-spacing: -0.05em;

    background: linear-gradient(180deg, #ffffff 0%, #d1d5db 90%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Role under name */
.hero-role {
    font-size: 2.4rem;
    color: #a1a1aa;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-role span {
    background: linear-gradient(90deg, #a78bfa, #c084fc);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

/* Description paragraph */
.hero-description {
    font-size: 1.25rem;
    color: #b5b5c1;
    max-width: 540px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* ========== RIGHT IMAGE ========== */
.hero-image-wrapper {
    position: relative;
    width: 480px;
    height: 480px;
    margin-left: auto;

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

.hero-circle-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(168, 85, 247, 0.25) 0%,
            rgba(139, 92, 246, 0.05) 45%,
            transparent 75%);

    animation: pulse 5s infinite ease-in-out;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;

    filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.5));
}

@keyframes pulse {
    0% {
        transform: scale(0.94);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.07);
        opacity: 0.9;
    }

    100% {
        transform: scale(0.94);
        opacity: 0.55;
    }
}

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

/* Tablets */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.8rem;
    }

    .hero-role {
        font-size: 1.9rem;
    }

    .hero-image-wrapper {
        width: 350px;
        height: 350px;
    }
}



/* Mobile View — Image removed, center aligned content */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
        flex-direction: column;
    }

    .hero-image-wrapper {
        display: none !important;
        /* Hide image completely */
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

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

    .hero-role {
        font-size: 1.6rem;
    }

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

    /* Keep everything left-aligned even on mobile */
    .hero-content {
        text-align: left !important;
    }
}

/* Remove extra space ONLY on mobile */
@media (max-width: 768px) {

    /* Reduce hero section height on mobile */
    .hero-section {
        min-height: auto !important;
        padding-top: 110px !important;
        /* space for navbar */
        padding-bottom: 1 !important;
    }

    /* Make row height natural instead of stretched */
    .hero-section .row {
        align-items: flex-start !important;
    }

    /* Make hero text compact */
    .hero-content {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Remove ghost spacing from hidden image column */
    .hero-image-block {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}




/* =============================================
   ABOUT & SKILLS
================================================ */
.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.skill-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 50px;
    margin-right: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    /* transition: var(--transition-fast); */
}

.skill-tag:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.education-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.education-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.year {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* =============================================
   PROJECT CARDS
================================================ */
/* Horizontal Scroll Styles */
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    width: 100%;
    padding: 20px 5%;
    gap: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.horizontal-card-item {
    flex: 0 0 auto;
    width: 400px;
}

@media (max-width: 768px) {
    .horizontal-card-item {
        width: 300px;
    }
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.btn-code {
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-code:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.view-all {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: 0.35s ease;
}

/* Soft glow + slight scale on hover */
.view-all:hover {
    color: #fff;
    transform: translateX(6px) scale(1.05);
    text-shadow: 0 0 12px var(--primary), 0 0 20px var(--primary);
}

/* Moving underline */
.view-all::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.view-all:hover::after {
    width: 100%;
    box-shadow: 0 0 12px var(--primary);
}

/* Animated arrow icon */
.view-all i {
    transition: 0.35s ease;
    transform: translateX(0);
}

.view-all:hover i {
    transform: translateX(6px);
}


/* =============================================
   CERTIFICATION CARDS
================================================ */
.cert-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 20px;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-fast);
}

.cert-card:hover::before {
    opacity: 1;
}

.cert-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px);
}

/* =============================================
   CONTACT SECTION (PREMIUM)
================================================ */
.premium-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    z-index: 1;
    pointer-events: none;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
}

.premium-contact-card,
.premium-social-card,
.premium-form-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-method-item {
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.contact-method-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.premium-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 20px;
    border-radius: 12px;
    color: #fff;
    transition: var(--transition-fast);
}

.premium-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.premium-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
    border: none;
    padding: 16px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.premium-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* =============================================
   RESPONSIVE
================================================ */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-image-wrapper {
        width: 350px;
        height: 350px;
        margin-top: 3rem;
    }

    .navbar-collapse {
        background: var(--bg-dark);
        padding: 1rem;
        border-radius: 16px;
        margin-top: 1rem;
        border: 1px solid var(--border-color);
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-image-wrapper {
        width: 280px;
        height: 280px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }
}

/* =============================================
   CUSTOM CURSOR
================================================ */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    display: none;
    /* Hidden by default, shown via JS on non-touch */
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(139, 92, 246, 0.1);
    border-color: transparent;
}

@media (hover: hover) and (pointer: fine) {

    .cursor-dot,
    .cursor-outline {
        display: block;
    }

    /* Only hide default cursor when custom cursor class is active */
    body.custom-cursor-active,
    body.custom-cursor-active a,
    body.custom-cursor-active button,
    body.custom-cursor-active .btn-custom,
    body.custom-cursor-active .btn-outline-custom,
    body.custom-cursor-active .cert-card,
    body.custom-cursor-active .project-card {
        cursor: none;
    }
}