@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #121212;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-blue: #007bff;
    --accent-cyan: #00e5ff;
    --accent-purple: #b026ff;
    --accent-red: #ff2a2a;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(20, 20, 25, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

main.hero, section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Three.js Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
}

/* Background Text */
.background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    z-index: -1;
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 10px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(18, 18, 18, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero {
    padding-top: 10rem !important; /* Offset for fixed header */
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2196f3;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--text-primary);
}

.btn-contact {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
    min-height: calc(100vh - 100px);
    position: relative;
    z-index: 10;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.badge .dot {
    width: 8px;
    height: 8px;
    background-color: #00e676;
    border-radius: 50%;
    box-shadow: 0 0 10px #00e676;
}

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

.hero-title .greeting {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.cursor {
    display: inline-block;
    color: var(--text-primary);
    animation: blink 0.75s step-end infinite;
    font-weight: 400;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.highlight-blue {
    color: #2196f3;
}

.highlight-purple {
    color: #9c27b0;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-desc strong {
    color: var(--text-primary);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(25, 25, 30, 0.8);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 3rem;
}

.btn-download i:first-child {
    color: #ffd54f;
    font-size: 1.2rem;
}

.btn-download i:last-child {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-download:hover {
    background: rgba(40, 40, 45, 0.8);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Hero Right Side - Image and Animations */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-container {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    background: linear-gradient(145deg, #1e1e1e, #000);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end; /* To crop at bottom like the ref image */
}

.profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transform: scale(1.3);
    transform-origin: center 10%;
}

/* Glowing Segmented Rings (SVG) */
.rings-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 1;
}

.svg-ring {
    transform-origin: 250px 250px;
}

.svg-ring-blue {
    animation: rotate-reverse 45s linear infinite;
    filter: drop-shadow(0 0 10px var(--accent-cyan));
}

.svg-ring-red {
    animation: rotate 35s linear infinite;
    filter: drop-shadow(0 0 10px var(--accent-red));
}

/* Floating Tech Icons */
.tech-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.icon-html {
    top: 5%;
    right: 20%;
    animation-delay: 0s;
}

.icon-react {
    top: 25%;
    right: -5%;
    animation-delay: -1s;
}

.icon-js {
    bottom: 30%;
    right: -10%;
    animation-delay: -2s;
}

.icon-python {
    bottom: 10%;
    left: 10%;
    animation-delay: -3s;
}

.icon-css {
    bottom: 5%;
    right: 15%;
    animation-delay: -4s;
}

/* About Section */
.about-section {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 5rem 5%;
    position: relative;
    z-index: 10;
    background: transparent;
}

.about-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 4rem;
}

.system-cube-container {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.cube-text-bg {
    position: absolute;
    font-size: 10rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    z-index: -1;
    letter-spacing: 10px;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250%;
    height: 250%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(0, 229, 255, 0.05) 30%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.glowing-cube {
    width: 140px;
    height: 140px;
    background: #0d0d12;
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.08), inset 0 0 20px rgba(0, 229, 255, 0.05);
    border-radius: 4px;
    transform: perspective(600px) rotateX(20deg) rotateY(15deg);
}

.system-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.skills-card {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    display: flex;
    padding: 2.5rem 4rem;
    gap: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.skill h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.skill p {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    font-weight: 600;
}

.about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5rem;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.section-label .line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
}

.about-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.about-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 95%;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 3rem;
    width: fit-content;
}

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

.about-tags {
    display: flex;
    gap: 1rem;
}

.about-tags .tag {
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

/* Origin Section Specifics */
.origin-left {
    padding-right: 0;
}
.origin-image-container {
    margin-bottom: 3rem;
}
.origin-graphic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
    position: relative;
    z-index: 1;
}
.origin-stats {
    padding: 2.5rem 5rem;
    gap: 5rem;
}
.icon-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}
.icon-btn:hover {
    color: var(--accent-cyan);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-3px);
}
.mt-3 {
    margin-top: 2rem;
}

/* AI/ML Section Specifics */
.ai-left {
    padding-right: 0;
}
.ai-image-container {
    margin-bottom: 3rem;
}
.ai-stats {
    padding: 2.5rem 5rem;
    gap: 5rem;
}
.creator-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem 2.5rem;
    margin-bottom: 2.5rem;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.creator-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.creator-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
}
.creator-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 0.4rem;
}
.creator-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
}
.creator-stat {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: all 0.3s;
}
.btn-outline:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

/* Projects Section */
.projects-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 5%;
    position: relative;
    z-index: 10;
}
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}
.projects-title-container {
    display: flex;
    flex-direction: column;
}
.projects-badge {
    margin-bottom: 1rem;
}
.projects-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
}
.projects-subtitle {
    max-width: 350px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: right;
}
.projects-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
}
.project-card {
    background: rgba(15, 15, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}
.project-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}
.project-image-wrapper {
    width: 100%;
    height: 320px;
    background: linear-gradient(145deg, #1a1a24, #0a0a0f);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.project-image-wrapper.small {
    height: 180px;
    background: linear-gradient(145deg, #2a2a34, #1a1a20);
}
.dummy-img-text {
    color: rgba(255, 255, 255, 0.1);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 1.5rem;
}
.project-content {
    padding: 2rem;
}
.small-project .project-content {
    padding: 1.5rem;
}
.project-tag {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}
.project-tag.purple {
    background: rgba(156, 39, 176, 0.1);
    color: #ce93d8;
}
.project-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.small-project .project-title {
    font-size: 1.8rem;
}
.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
}
.view-btn .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-cyan);
    color: #000;
    border-radius: 50%;
    transition: transform 0.3s;
    font-size: 1.2rem;
}
.view-btn:hover .arrow {
    transform: translateX(5px);
}
.view-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.view-link:hover {
    color: var(--accent-cyan);
}
.projects-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.archive-card {
    background: rgba(15, 15, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    min-height: 250px;
    transition: all 0.3s;
}
.archive-card:hover {
    background: rgba(20, 20, 25, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}
.archive-icon {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.archive-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.archive-desc {
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 2rem;
}
.explore-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tech Stack Section */
.tech-stack-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 5%;
    position: relative;
    overflow: hidden;
}

.tech-stack-header {
    text-align: center;
    margin-bottom: 5rem;
    z-index: 10;
}

.tech-badge {
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #9c27b0;
}

.tech-badge .line {
    width: 30px;
    height: 1px;
    background: #9c27b0;
    opacity: 0.5;
}

.tech-main-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(90deg, #9c27b0, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-subtitle {
    color: var(--text-secondary);
    letter-spacing: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tech-canvas-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    flex: 1;
    min-height: 600px;
}

.tech-capsule {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    transition: background 0.3s, border-color 0.3s;
}

.layer-1 {
    opacity: 1;
}

.layer-2 {
    opacity: 0.6;
}

.layer-3 {
    opacity: 0.2;
}

.tech-capsule:hover {
    border-color: rgba(0, 229, 255, 0.4);
    z-index: 20 !important;
    background: rgba(20, 20, 25, 0.9);
    transform: scale(1.3) !important; /* Emphasize hover over initial scale */
}

.tech-capsule i {
    font-size: 2.2rem;
}

.tech-info h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.tech-info p {
    color: var(--text-secondary);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    font-weight: 800;
}

/* Contact Section */
.contact-section {
    padding: 8rem 5% 2rem;
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-container {
    background: rgba(15, 15, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 5rem;
    backdrop-filter: blur(10px);
}

.contact-header {
    text-align: center;
    margin-bottom: 5rem;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-text h4 {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.card-text p {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-cyan);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 1.5rem;
    border-radius: 15px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.05);
}

.submit-btn {
    background: var(--accent-cyan);
    color: #000;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    align-self: flex-start;
}

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

/* Section Divider */
.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
    margin: 2rem 0;
    width: 100%;
}

.footer {
    text-align: center;
    padding-top: 5rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Github Repo Style Project Cards */
.repo-card {
    background: #101014;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
}

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

.repo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #00e5ff, #8a2be2);
}

.repo-card h3 {
    font-size: 1.5rem;
    color: #e6edf3;
    margin-bottom: 1rem;
    font-weight: 700;
}

.repo-card p {
    font-size: 0.95rem;
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.repo-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
}

.repo-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #8b949e;
    margin-bottom: 2rem;
}

.repo-meta-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tech-badge-outline {
    border: 1px solid currentColor;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 500;
}

.tech-python { color: #f1e05a; }
.tech-js { color: #f1e05a; }
.tech-cpp { color: #f34b7d; }
.tech-html { color: #e34c26; }
.tech-api { color: #00e5ff; }

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

.btn-repo {
    border: 1px solid #e6edf3;
    color: #e6edf3;
    background: transparent;
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-repo:hover {
    background: #e6edf3;
    color: #101014;
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(8px);
    overflow: auto;
}

.modal-content {
    background-color: #121216;
    margin: 5% auto;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 80%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    color: var(--text-secondary);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--text-primary);
    text-decoration: none;
}

.modal-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-body {
    margin-top: 2rem;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.modal-body strong {
    color: var(--text-primary);
}

.modal-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-tech-stack span {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Animations */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
        gap: 4rem;
    }
    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-desc {
        max-width: 100%;
    }
    nav {
        display: none; /* simple mobile nav hide for now */
    }
    .tech-canvas-container {
        transform: scale(0.6);
        min-height: 400px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .projects-subtitle {
        text-align: left;
    }
    .about-section {
        flex-direction: column;
        padding: 4rem 5%;
    }
    .about-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-right: 0;
        padding-bottom: 4rem;
        margin-bottom: 4rem;
    }
    .about-right {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }
    .about-desc {
        max-width: 100%;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .input-group {
        flex-direction: column;
    }
    .contact-container {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.4rem;
    }
    .image-container {
        width: 100%;
        max-width: 350px;
        height: 350px;
    }
    .profile-img-wrapper {
        width: 250px;
        height: 250px;
    }
    .rings-svg { width: 360px; height: 360px; }
    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
