:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --accent: #00f2d8;
    --accent-glow: rgba(0, 242, 216, 0.3);
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --text-muted: #666666;
    --nav-height: 80px;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    position: relative;
    transition: var(--transition);
}

.logo-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.outer-circle {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawCircle 2s ease forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

.inner-shape {
    transition: var(--transition);
}

.logo:hover .inner-shape {
    fill: var(--text-main);
}

.logo:hover .logo-icon {
    transform: rotate(180deg);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.logo-text span {
    color: var(--accent);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero.centered {
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.glow-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.5;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 242, 216, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 242, 216, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    text-align: left;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 242, 216, 0.1);
    border: 1px solid var(--accent);
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

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

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

.accent-text {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-description .name {
    color: var(--accent);
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

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

.btn-secondary:hover {
    background: var(--accent-glow);
    transform: translateY(-3px);
}

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

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Visuals */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.tech-ring-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 242, 216, 0.2);
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-style: dashed;
    animation: rotate 20s linear infinite;
}

.ring-2 {
    width: 120%;
    height: 120%;
    border: 1px solid rgba(0, 242, 216, 0.1);
    animation: rotate 30s linear infinite reverse;
}

.ring-3 {
    width: 80%;
    height: 80%;
    border: 2px solid var(--accent);
    opacity: 0.3;
    filter: blur(2px);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-image-container {
    position: relative;
    width: 240px;
    height: 240px;
    background: var(--bg-card);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hero-image.anime-style {
    filter: drop-shadow(2px 2px 0 white) drop-shadow(-2px -2px 0 white) drop-shadow(2px -2px 0 white) drop-shadow(-2px 2px 0 white) drop-shadow(0 0 15px var(--accent-glow));
    transform: translateY(10px);
    image-rendering: -webkit-optimize-contrast;
}

.hero-image.anime-style:hover {
    filter: drop-shadow(3px 3px 0 var(--accent)) drop-shadow(-3px -3px 0 var(--accent)) drop-shadow(0 0 25px var(--accent));
    transform: translateY(0px) scale(1.05);
}

.floating-badge {
    position: absolute;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
    white-space: nowrap;
}

.badge-1 {
    top: 10%;
    right: -40%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    left: -40%;
    animation-delay: 2s;
}

.hero-logo-visual {
    background: transparent;
    border: none;
    box-shadow: none;
    width: 280px;
    height: 280px;
}

.hero-logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.hero-logo-svg .inner-shape {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

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

/* Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-dim);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 0; }
    50% { transform: translate(-50%, 10px); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-visual.reveal {
    transform: scale(0.9);
}

.hero-visual.reveal.visible {
    transform: scale(1);
}

/* Light Theme */
body.light-theme {
    --bg-dark: #f5f5f5;
    --bg-card: #ffffff;
    --text-main: #1a1a1a;
    --text-dim: #4a4a4a;
    --text-muted: #888888;
    --accent: #00bfa5;
    --accent-glow: rgba(0, 191, 165, 0.2);
}

body.light-theme .navbar {
    background: rgba(245, 245, 245, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .social-icon {
    background: rgba(0, 0, 0, 0.05);
}

/* Navbar Scrolled State */
.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--bg-dark);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.circular-image-container {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
    position: relative;
}

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

.about-description {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin: 2rem 0;
}

.skills-mini {
    margin-bottom: 3rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.about-cta {
    display: flex;
    gap: 1.5rem;
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background-color: var(--bg-card);
}

.text-center {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-dark);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image-container {
    height: 280px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-card);
    background-image: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.05) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

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

.view-btn {
    padding: 0.8rem 1.5rem;
    background: var(--accent);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.project-card:hover .view-btn {
    transform: translateY(0);
}

/* Mobile visibility for overlay */
@media (max-width: 1024px) {
    .project-overlay {
        opacity: 1;
        background: rgba(10, 10, 10, 0.4);
        backdrop-filter: none;
    }
    .view-btn {
        transform: translateY(0);
    }
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-info {
    padding: 2rem;
}

.project-tag {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-name {
    font-size: 1.5rem;
    margin: 0.5rem 0 1rem;
}

.project-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    gap: 0.8rem;
}

.project-tech span {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-wrapper {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-visual {
        display: none;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-cta {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-title {
        font-size: 3rem;
    }
}





/* About Tech-Orbit */
.about-tech-orbit {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 242, 216, 0.15);
}

.orbit-1 {
    width: 100%;
    height: 100%;
    border-style: solid;
    animation: rotate 25s linear infinite;
}

.orbit-2 {
    width: 85%;
    height: 85%;
    border-style: dashed;
    animation: rotate 15s linear infinite reverse;
}

.about-logo-card {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.glass-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: rotate(15deg);
}

.about-logo-svg {
    width: 100px;
    height: 100px;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.logo-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--accent-glow);
    filter: blur(60px);
    z-index: 1;
    opacity: 0.3;
}

/* Enhanced Responsiveness */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-visual {
        justify-content: center !important;
        display: flex !important;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 4rem;
    }
    
    .about-visual {
        display: flex;
        justify-content: center;
    }
    
    .circular-image-container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .circular-image-container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
}

/* Services Section */
.services {
    padding: 8rem 0;
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.service-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.service-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-list li::before {
    content: '→';
    color: var(--accent);
    font-weight: bold;
}

/* Reviews Section */
.reviews {
    padding: 8rem 0;
    background-color: var(--bg-dark);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.review-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.review-stars {
    color: #ffc107;
    font-size: 0.9rem;
    display: flex;
    gap: 0.3rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
}

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

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

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

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg-card), var(--bg-dark));
}

.contact-card {
    background: var(--bg-card);
    padding: 5rem 3rem;
    border-radius: 30px;
    text-align: center;
    border: 1px solid var(--accent-glow);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 242, 216, 0.05);
}

.contact-card p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin: 2rem 0 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    background: var(--accent);
    color: var(--bg-dark);
}



.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}