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

:root {
    --primary-gradient: linear-gradient(135deg, #ffffff 0%, #a5a5a5 100%);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --dark-bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --surface-glass: rgba(10, 10, 10, 0.95);
    --card-hover: rgba(255, 255, 255, 0.04);
}

body {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

/* Animated Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    top: 50%;
    right: -100px;
}

@keyframes float {

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

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    height: 70px;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    height: 60px;
    background: rgba(5, 5, 5, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    color: #2563eb;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 100px 40px 60px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-name {
    font-size: clamp(60px, 10vw, 110px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.name-char {
    display: inline-block;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: charFloat 3s ease-in-out infinite;
}

.name-char:nth-child(1) {
    animation-delay: 0s;
}

.name-char:nth-child(2) {
    animation-delay: 0.1s;
}

.name-char:nth-child(3) {
    animation-delay: 0.2s;
}

.name-char-space {
    display: inline-block;
    width: 20px;
}

.name-char:nth-child(5) {
    animation-delay: 0.3s;
}

.name-char:nth-child(6) {
    animation-delay: 0.4s;
}

.name-char:nth-child(7) {
    animation-delay: 0.5s;
}

.name-char:nth-child(8) {
    animation-delay: 0.6s;
}

.name-char:nth-child(9) {
    animation-delay: 0.7s;
}

@keyframes charFloat {

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

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

.hero-typing-container {
    height: 30px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

.hero-tagline {
    max-width: 650px;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-title {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 35px;
    letter-spacing: 1px;
}

/* Hero content - always visible */
.hero-content > * {
    opacity: 1;
    transform: translateY(0);
}


.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

/* 3D Hero Card */
.hero-card-container {
    perspective: 1000px;
}

.hero-card {
    width: 100%;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    /* Removed cardRotate animation */
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 30px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-front {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(255, 255, 255, 0.02));
}

.card-back {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(99, 102, 241, 0.02));
    transform: rotateY(180deg);
}

.card-content {
    padding: 60px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}

.card-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto;
}

/* Section Title */
.section-title {
    font-size: 56px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    padding: 120px 40px;
    position: relative;
    z-index: 10;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0.1;
    filter: blur(40px);
    z-index: 1;
}

.card-inner {
    position: relative;
    z-index: 2;
    padding: 50px;
    background: var(--surface-glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.card-inner h3 {
    font-size: 32px;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-inner p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.skill-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.skill-icon {
    font-size: 28px;
}

/* Projects Section */
.projects {
    padding: 140px 40px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Floating Decorative Orbs */
.projects-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    animation: orbFloat 20s ease-in-out infinite;
}

.projects-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.projects-orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3b82f6, #1e293b);
    bottom: 20%;
    right: -50px;
    animation-delay: -7s;
}

.projects-orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes orbFloat {

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

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

/* Section Header V2 */
.section-header-v2 {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.label-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gradient), transparent);
}

.label-text {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--text-primary);
}

.section-title-v2 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-word {
    display: inline-block;
    margin-right: 15px;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tagline {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 400px;
    margin: 0 auto;
}

/* ==================== */
/* BENTO GRID LAYOUT    */
/* ==================== */

/* Projects Grid - Explicit 3-Column Uniformity */
.bento-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: min-content !important;
    gap: 30px !important;
    max-width: 1200px;
    margin: 50px auto 0;
}

.bento-card {
    background: var(--surface-glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 480px !important; /* Fixed height for absolute uniformity */
    min-height: 480px !important;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
}

.bento-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Bento Card Status Badge */
.bento-status {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981; /* Green for Live/Completed */
    box-shadow: 0 0 10px #10b981;
}

.status-dot.beta {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

.bento-card:hover .bento-number {
    -webkit-text-stroke: 1px rgba(99, 102, 241, 0.3);
    color: rgba(99, 102, 241, 0.05);
    transform: translateY(-10px) scale(1.05);
}

/* Glass Card Refinement */
.bento-card {
    background: var(--surface-glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

/* Click Ripple Effect */
.card-click-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100;
    opacity: 0;
}

.bento-card.clicking .card-click-ripple {
    animation: clickRipple 0.6s ease-out forwards;
}

@keyframes clickRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 400%;
        height: 400%;
        opacity: 0;
    }
}

/* Card Click Animation */
.bento-card.clicking {
    transform: scale(0.95);
}

.bento-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-card:hover .bento-image img {
    transform: scale(1.15);
    filter: brightness(0.7) saturate(1.2);
}

/* Shine Effect on Image */
.bento-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 60%,
            transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.bento-card:hover .bento-shine {
    transform: translateX(100%);
}

/* Image Overlay Gradient */
.bento-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 30%,
            rgba(10, 10, 20, 0.9) 100%);
    pointer-events: none;
}

/* Bento Content */
.bento-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
}



/* Bento Badge */
.bento-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.featured-badge {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.2));
    border-color: rgba(255, 215, 0, 0.4);
    color: #ffd700;
}

.bento-card:hover .bento-badge {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    color: #2563eb;
    box-shadow: 0 0 25px rgba(102, 126, 234, 0.3);
}

.bento-card:hover .featured-badge {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 140, 0, 0.3));
    color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

/* Bento Title */
.bento-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    transition: all 0.4s ease;
}

.bento-card:hover .bento-title {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bento Description */
.bento-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

/* Tech Tags */
.bento-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.bento-tech span {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 6px;
    color: #2563eb;
}

/* Action Button */
.bento-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-card:hover .bento-action {
    opacity: 1;
    transform: translateY(0);
}

.action-text {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    letter-spacing: 0.5px;
}

.action-arrow {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s ease;
}

.bento-card:hover .action-arrow {
    transform: rotate(-45deg);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Glow Effect */
.bento-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%,
            rgba(102, 126, 234, 0.15) 0%,
            transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.bento-card:hover .bento-glow {
    opacity: 1;
}

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

@media (max-width: 1100px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .projects {
        padding: 100px 20px;
    }

    .bento-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .bento-image {
        height: 200px;
    }

    .bento-number {
        font-size: 80px !important;
    }

    .bento-title {
        font-size: 22px;
    }

    .section-title-v2 {
        font-size: 36px;
    }

    .projects-orb {
        display: none;
    }
}

@media (max-width: 480px) {
    .bento-content {
        padding: 20px;
    }

    .bento-image {
        height: 160px;
    }

    .action-arrow {
        width: 35px;
        height: 35px;
    }
}



/* Contact Section */
.contact {
    padding: 120px 40px;
    position: relative;
    z-index: 10;
}

.contact-links {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    padding: 40px 30px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.contact-icon {
    width: 50px;
    height: 50px;
    color: #2563eb;
}

.contact-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Footer Refined */
.footer {
    padding: 60px 0;
    background: rgba(3, 7, 18, 0.5);
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-copyright span {
    color: var(--text-primary);
    font-weight: 700;
}

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

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

@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .nav-container {
        padding: 0 30px;
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-name {
        font-size: 70px;
        justify-content: center;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 42px;
    }

    .contact-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .about,
    .projects,
    .contact {
        padding: 80px 20px;
    }

    .card-inner {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .logo {
        font-size: 24px;
    }

    .hero {
        padding: 80px 20px 60px;
        min-height: auto;
    }

    .hero-name {
        font-size: 56px;
        gap: 3px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-card-container {
        display: none;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .about-content {
        padding: 0 10px;
    }

    .card-inner {
        padding: 30px 20px;
    }

    .card-inner h3 {
        font-size: 26px;
    }

    .card-inner p {
        font-size: 16px;
    }

    .skill-item {
        padding: 15px;
        font-size: 14px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 640px) {
    .container, .nav-container { padding: 0 20px; }
    .navbar { padding: 15px 0; }
    .logo { font-size: 22px; }
    .hero { padding: 70px 15px 50px; }
    .hero-name { font-size: 48px; gap: 2px; }
    .hero-title { font-size: 18px; }
    .btn { width: 100%; padding: 14px 28px; }
    
    .bento-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        height: auto !important;
    }
    
    .bento-card {
        height: 480px !important;
        min-height: 400px !important;
    }
    
    .about, .projects, .contact { padding: 60px 15px; }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 40px;
    }

    .hero-title {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .card-inner {
        padding: 20px 15px;
    }

    .card-inner h3 {
        font-size: 22px;
    }

    .skill-item {
        padding: 10px;
        font-size: 13px;
    }
}

/* Tablet Landscape Specific */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-name {
        font-size: 90px;
        justify-content: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}