/* 
 * DARK NEON CLEAN - DESIGN SYSTEM 🌙💎
 * Organized, Professional, Cyberpunk-inspired
 */

:root {
    /* === COLOR PALETTE === */
    /* Backgrounds - Deep Void */
    --bg-void: #050505;
    --bg-surface: #0A0A0A;
    --bg-card: #111111;
    --bg-card-hover: #161616;

    /* Neon Accents */
    --neon-cyan: #00F0FF;
    --neon-purple: #BD00FF;
    --neon-green: #00FF94;
    --neon-pink: #FF0055;

    /* Text Colors */
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --text-dim: #505050;

    /* Borders & Separators */
    --border-dim: #222222;
    --border-light: #333333;

    /* === TYPOGRAPHY === */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-code: 'Fira Code', monospace;

    /* === SPACING & LAYOUT === */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* === EFFECTS === */
    --glow-cyan: 0 0 10px rgba(0, 240, 255, 0.3);
    --glow-purple: 0 0 10px rgba(189, 0, 255, 0.3);
    --glow-text: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle Grid Background */
    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: 50px 50px;
}

/* === TYPOGRAPHY UTILITIES === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-cyan {
    color: var(--neon-cyan);
}

.text-purple {
    color: var(--neon-purple);
}

.text-green {
    color: var(--neon-green);
}

.font-code {
    font-family: var(--font-code);
}

/* === LAYOUT UTILITIES === */
.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-dim);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-primary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.navbar.navbar-hidden {
    transform: translateY(calc(-100% - 2rem));
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    /* Slightly shorter for floating look */
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--neon-cyan);
    transition: transform 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.dropdown-link i {
    width: 20px;
    text-align: center;
    color: var(--neon-cyan);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .navbar {
        width: 95%;
        top: 1rem;
        padding: 0.5rem 1rem;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 95%;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hidden.md\:block {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        margin-top: 1rem;
        padding-left: 1rem;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }

    .nav-item-dropdown:hover .dropdown-menu {
        transform: none;
    }
}

/* === Navbar Dropdown Styles */
.nav-item-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--neon-cyan);
    transform: translateX(5px);
}

.dropdown-link i {
    width: 20px;
    text-align: center;
    color: var(--neon-purple);
    transition: 0.2s;
}

.dropdown-link:hover i {
    color: var(--neon-cyan);
}

@media (max-width: 768px) {
    .nav-item-dropdown {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
        width: 100%;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-trigger {
        width: 100%;
        justify-content: space-between;
    }
}

/* === CARDS === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* === SKILL BARS === */
.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.skill-track {
    width: 100%;
    height: 6px;
    background: var(--bg-surface);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 3px;
    position: relative;
}

.skill-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-size: 0.8rem;
    font-family: var(--font-code);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* === FOOTER === */
.footer {
    background: linear-gradient(to bottom, #050505, #000);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), transparent);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-heading {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--neon-cyan);
    transform: translateX(5px);
}

.footer-link i {
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.footer-link:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Newsletter */
.newsletter-form {
    margin-top: 1rem;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--neon-cyan);
    color: #000;
    border: none;
    border-radius: 8px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dim);
    color: var(--text-dim);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === SOCIAL ICONS === */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

/* === UTILITIES === */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .hidden.md\:block {
        display: block;
    }
}

.recommendation-slider .swiper-slide {
    display: flex;
    justify-content: center;
}

.recommendation-slider .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.recommendation-slider .swiper-button-next,
.recommendation-slider .swiper-button-prev {
    color: var(--neon-cyan);
    transition: 0.3s;
}

.recommendation-slider .swiper-button-next:hover,
.recommendation-slider .swiper-button-prev:hover {
    color: var(--white);
    transform: scale(1.1);
}

.recommendation-slider .swiper-pagination-bullet {
    background: var(--border-dim);
    opacity: 0.8;
}

.recommendation-slider .swiper-pagination-bullet-active {
    background: var(--neon-cyan);
}

/* Recommendations Grid Layout */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.recommendation-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.15);
    background: var(--bg-card-hover);
}

/* Header Section */
.recommendation-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.recommendation-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--neon-cyan);
    margin-right: 1rem;
    flex-shrink: 0;
}

.recommendation-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommendation-info {
    flex: 1;
}

.recommendation-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.recommendation-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.recommendation-icon {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--border-light);
    font-size: 1.5rem;
    opacity: 0.5;
    transition: 0.3s;
}

.recommendation-card:hover .recommendation-icon {
    color: var(--neon-cyan);
    opacity: 1;
}

/* Body Section */
.recommendation-body {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}

/* Horizontal Scrolling Wrapper - Infinite Scroll */
.scrolling-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    padding: 1rem 0 2rem 0;
    width: max-content;
    animation: infiniteScroll 35s linear infinite;
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Custom Scrollbar */
.scrolling-wrapper::-webkit-scrollbar {
    height: 6px;
}

.scrolling-wrapper::-webkit-scrollbar-track {
    background: var(--bg-surface);
    border-radius: 10px;
}

.scrolling-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 10px;
    transition: background 0.3s;
}

.scrolling-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Card Adjustments for Scroll */
.recommendation-card {
    flex: 0 0 350px;
    /* Fixed width */
    background: rgba(17, 17, 17, 0.6);
    /* More transparent */
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.4s ease,
                box-shadow 0.5s ease,
                background 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    /* Allow height to fit content */
    min-height: 280px;
    transform-style: preserve-3d;
    will-change: transform;
}

.recommendation-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 25px 50px -10px rgba(0, 240, 255, 0.25),
                0 0 30px rgba(0, 240, 255, 0.1);
    background: var(--bg-card);
    z-index: 10;
}

/* Quote Icon Styling */
.recommendation-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--border-light);
    font-size: 2rem;
    opacity: 0.3;
    transition: 0.3s;
}

.recommendation-card:hover .recommendation-icon {
    color: var(--neon-cyan);
    opacity: 1;
    transform: rotate(10deg);
}

/* Tech Tags */
.tech-tag {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px solid var(--border-dim);
    font-family: var(--font-code);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.tech-tag:hover,
.card:hover .tech-tag {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
}

/* === SKILLS PAGE SPECIFIC === */

.skills-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.skill-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.skill-category-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.skill-icon-large {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
}

.language-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.language-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dim);
    transition: all 0.3s ease;
    width: 100%;
}

.language-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-cyan);
    transform: translateX(5px);
}

.soft-skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.soft-skill-tag i {
    color: var(--neon-purple);
}

.soft-skill-tag:hover {
    border-color: var(--neon-purple);
    color: var(--text-main);
    background: rgba(189, 0, 255, 0.1);
    transform: translateY(-2px);
}

/* === PROJECTS PAGE STYLES === */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-code);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.filter-btn:hover::before {
    transform: translateX(100%);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* Tech Stack Filter Bar */
.tech-filter-container {
    max-width: 900px;
    margin: 0 auto 4rem auto;
    overflow-x: auto;
    white-space: nowrap;
    padding: 1rem;
    text-align: center;
    scrollbar-width: none;
    /* Firefox */
}

.tech-filter-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.tech-filter-btn {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dim);
    color: var(--text-dim);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tech-filter-btn:hover,
.tech-filter-btn.active {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

/* 3D Tilt & Spotlight Card */
.project-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
}

/* Spotlight Effect Overlay */
.project-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(0, 240, 255, 0.06),
            transparent 40%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.1);
}

.project-image {
    height: 200px;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-dim);
}

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

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

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(0, 0, 0, 0.2) 100%);
    position: relative;
    z-index: 3;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tech-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    border: 1px solid var(--border-dim);
    font-family: var(--font-code);
    transition: all 0.3s ease;
}

.project-card:hover .tech-tag {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.project-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stat-item i {
    color: var(--neon-purple);
}

.project-links {
    margin-top: auto;
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-dim);
}

.project-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
}

.project-link:hover {
    color: var(--bg-void);
    background: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
}

/* Featured Project Section */
.featured-project {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
    border: 1px solid var(--neon-purple);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.featured-project:hover {
    transform: scale(1.01);
    box-shadow: 0 0 40px rgba(189, 0, 255, 0.2);
}

.featured-project::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.05) 0%, transparent 70%);
    animation: rotate-bg 20s linear infinite;
    pointer-events: none;
}

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

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

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--neon-purple);
    color: var(--text-main);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-dim);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

@media (max-width: 900px) {
    .featured-project {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

/* === MODAL STYLES === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--neon-cyan);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    transform: rotate(90deg);
}

.modal-body {
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.modal-header-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-dim);
}

.modal-details {
    padding: 2.5rem;
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.modal-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-header-image {
        height: 200px;
    }
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
}

/* === MODERN MINIMALIST TIMELINE === */
.timeline-section {
    padding: 4rem 0;
    position: relative;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

/* Vertical Line */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Left and Right positioning */
.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

/* The Dot */
.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--bg-void);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    top: 24px;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item.left .timeline-dot {
    right: -8px;
}

.timeline-item.right .timeline-dot {
    left: -8px;
}

.timeline-item:hover .timeline-dot {
    background-color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
    transform: scale(1.2);
}

/* Content Card */
.timeline-content {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Arrows */
.timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    border: medium solid var(--border-dim);
}

.timeline-item.left .timeline-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--border-dim);
}

.timeline-item.right .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--border-dim) transparent transparent;
}

/* Typography & Badges */
.timeline-date {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
    display: inline-block;
    background: rgba(0, 240, 255, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.timeline-location {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 23px;
    }

    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -10px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--border-dim) transparent transparent;
    }
}

/* === PROJECTS GRID === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    padding-bottom: 4rem;
}

.project-item {
    display: block;
    height: 100%;
}

.project-item.hidden {
    display: none;
}

/* Creative Blog Styles */
.blog-search-container {
    max-width: 600px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 10;
}

.search-input {
    width: 100%;
    padding: 1.2rem 3.5rem 1.2rem 1.5rem;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.15), inset 0 0 10px rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
    outline: none;
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color 0.3s;
}

.search-input:focus+.search-icon {
    color: var(--neon-cyan);
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid var(--border-dim);
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-code);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
}

.filter-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0, 240, 255, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.filter-btn:hover {
    border-color: var(--neon-cyan);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.filter-btn:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--neon-cyan);
}

.filter-btn:hover::before {
    opacity: 1;
}

.filter-btn.active {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--neon-cyan);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.filter-btn.active::after {
    transform: scaleX(1);
}

.filter-btn.active i {
    color: var(--neon-cyan);
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(13, 13, 16, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(10px);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.blog-card:hover::before {
    transform: translateX(100%);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
}

.blog-image-container {
    height: 180px;
    width: 100%;
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.blog-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(40%);
}

.blog-card:hover .blog-image-container img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-meta {
    display: flex;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    align-items: center;
    font-family: var(--font-code);
}

.blog-tag {
    background: rgba(0, 240, 255, 0.05);
    color: var(--neon-cyan);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 240, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid Improvements */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--neon-cyan);
    font-size: 2rem;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    margin-top: 0.8rem;
    z-index: 100;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
}

.search-result-item {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-dim);
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: rgba(0, 240, 255, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

/* Featured Article Styles */
.featured-card {
    display: grid;
    grid-template-columns: 45% 55%;
    background: rgba(13, 13, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(10px);
    height: 380px;
    /* Fixed height for compactness */
}

.featured-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

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

.featured-image {
    height: 100%;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    /* Angled cut */
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: grayscale(20%);
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.featured-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-family: var(--font-code);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* Decorative background element for featured content */
.featured-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--neon-purple);
    filter: blur(80px);
    opacity: 0.08;
    border-radius: 50%;
    z-index: -1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    /* Start hidden */
}

@media (max-width: 992px) {
    .featured-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .featured-image {
        height: 250px;
        clip-path: none;
    }

    .featured-content {
        padding: 2rem;
    }
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-content {
        padding: 1.2rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-card);
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--border-dim);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--neon-cyan);
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    position: relative;
    height: 300px;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 2rem;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.2;
}

.modal-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 1.5rem;
}

.modal-meta i {
    color: var(--neon-cyan);
    margin-right: 0.5rem;
}

.modal-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.modal-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-dim);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-header {
        height: 200px;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}

/* Profile Section Styles */
.profile-card {
    background: linear-gradient(180deg, rgba(20, 20, 25, 0.6) 0%, rgba(10, 10, 12, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 850px;
    margin: 2rem auto 5rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.5;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.2);
}

/* Decorative glow behind profile */
.profile-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.03), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.profile-card:hover .profile-avatar {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    transform: scale(1.05);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.profile-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 1rem;
    letter-spacing: -0.5px;
}

.profile-badge {
    background: rgba(0, 240, 255, 0.05);
    color: var(--neon-cyan);
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.profile-bio {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
    max-width: 600px;
}

.profile-actions {
    display: flex;
    gap: 1rem;
}

.profile-actions .btn {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
        gap: 2rem;
        border-radius: 30px;
        margin-top: 2rem;
    }

    .profile-name {
        justify-content: center;
        flex-wrap: wrap;
        font-size: 2rem;
        gap: 1rem;
    }

    .profile-bio {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .profile-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .profile-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .profile-avatar {
        width: 130px;
        height: 130px;
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

.pagination-wrapper {
    background: rgba(13, 13, 16, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* === RESUME PAGE STYLES === */
.resume-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .resume-layout {
        grid-template-columns: 1fr;
    }
}

.resume-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .resume-sidebar {
        position: static;
    }
}

/* Profile Card (Resume) */
.resume-sidebar .profile-card {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-header {
    margin-bottom: 1.5rem;
}

.profile-img-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-light);
    transition: all 0.3s ease;
}

.profile-card:hover .profile-img-container img {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.status-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background: var(--neon-green);
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    box-shadow: 0 0 10px var(--neon-green);
}

.profile-header h2 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.profile-info {
    width: 100%;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-dim);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    width: 20px;
    text-align: center;
}

.social-row {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-3px);
}

/* Widget Card */
.widget-card {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.widget-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-dim);
}

/* Skill Bars (Resume) */
.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-bar-item {
    width: 100%;
}

.sb-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

.sb-track {
    height: 6px;
    background: var(--border-dim);
    border-radius: 3px;
    overflow: hidden;
}

.sb-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.sb-fill.cyan {
    background: linear-gradient(90deg, var(--neon-cyan), rgba(0, 240, 255, 0.6));
}

.sb-fill.purple {
    background: linear-gradient(90deg, var(--neon-purple), rgba(189, 0, 255, 0.6));
}

.sb-fill.pink {
    background: linear-gradient(90deg, var(--neon-pink), rgba(255, 0, 85, 0.6));
}

/* Certifications List Mini */
.cert-list-mini {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cert-list-mini li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cert-list-mini li i {
    font-size: 0.8rem;
}

/* Language Tags */
.lang-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lang-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dim);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.lang-tag:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.lang-tag small {
    opacity: 0.7;
    margin-left: 0.3rem;
}

/* Resume Main Content */
.resume-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.resume-block {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.block-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-dim);
}

.block-title i {
    color: var(--neon-cyan);
}

/* Modern Timeline (Resume) */
.timeline-modern {
    position: relative;
    padding-left: 2rem;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-dim);
}

.tm-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

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

.tm-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    background: var(--bg-void);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tm-item:hover::before {
    background: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
}

.tm-date {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.tm-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.tm-content:hover {
    border-color: var(--neon-cyan);
    transform: translateX(5px);
}

.tm-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tm-head h3 {
    font-size: 1.1rem;
    margin: 0;
}

.tm-company {
    font-size: 0.85rem;
    color: var(--neon-purple);
    background: rgba(189, 0, 255, 0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
}

.tm-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tm-list {
    list-style: none;
    margin-bottom: 1rem;
}

.tm-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tm-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
}

.tm-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tm-tech span {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dim);
    border-radius: 4px;
    color: var(--text-dim);
    font-family: var(--font-code);
}

/* Feature Box (Resume) */
.feature-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    background: rgba(0, 240, 255, 0.02);
}

.feature-box i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Text colors */
.text-orange {
    color: #FF9500;
}

.text-pink {
    color: var(--neon-pink);
}

/* === YOUTUBE PAGE STYLES === */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.loading-block {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px dashed var(--border-dim);
}

.loading-block::after {
    content: 'Loading...';
    color: var(--text-muted);
    font-family: var(--font-code);
}

/* Brand Logo */
.brand-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}
