* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Consolas', 'Monaco', monospace;
}

body {
    background-color: #0a101e;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 16, 30, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #40E0D0;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.2rem;
}

.social-icon:hover {
    color: #40E0D0;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 50px;
    color: #40E0D0;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-accent {
    background: linear-gradient(135deg, #40E0D0 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 2rem;
    color: #a0aec0;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #a0aec0;
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.2rem;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #40E0D0 0%, #3498db 100%);
    color: #0a101e !important;
    border: none;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

.hero-btn-primary:before {
    display: none;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.4);
    color: #000 !important;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-btn span,
.hero-btn i {
    position: relative;
    z-index: 1;
}

/* Terminal & Visuals */
.hero-visuals {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal-wrapper {
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 550px;
    overflow: hidden;
    position: relative;
    z-index: 10;
    transform: rotateX(5deg) rotateY(-5deg);
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.terminal-wrapper:hover {
    transform: rotateX(0) rotateY(0) translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(64, 224, 208, 0.2);
}

.terminal-header {
    background: #1e293b;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.close-btn {
    background: #ff5f56;
}

.min-btn {
    background: #ffbd2e;
}

.max-btn {
    background: #27c93f;
}

.terminal-title {
    margin: 0 auto;
    color: #64748b;
    font-size: 0.85rem;
    font-family: inherit;
    transform: translateX(-20px);
}

.hero-visuals .code-block {
    background: transparent;
    padding: 1.5rem;
    margin-bottom: 0;
    box-shadow: none;
    font-size: 0.95rem;
    line-height: 1.6;
}

.output-line {
    margin: 1rem 0;
    color: #94a3b8;
}

/* Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: floatOrb 8s infinite alternate ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: #40E0D0;
    top: -50px;
    right: -50px;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: #3498db;
    bottom: -50px;
    left: 20px;
    animation-delay: -4s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section headers */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.section-header::before {
    content: "/";
    color: #a0a0a0;
    margin-right: 1rem;
}

.section-header::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: #304050;
    margin-left: 1rem;
}

/* About section */
.about {
    padding: 6rem 0;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.about-text {
    position: relative;
}

.about-text p {
    margin-bottom: 1.8rem;
    color: #b0b8c4;
    font-size: 1.05rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.about-text p:first-of-type {
    font-size: 1.1rem;
    color: #c5cdd8;
}

.about-visuals {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 360px;
    margin: 0 auto;
    position: sticky;
    top: 100px;
}

.about-image {
    position: relative;
    width: 100%;
    overflow: visible;
}

.about-image::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #40E0D0 0%, #3498db 50%, #9b59b6 100%);
    border-radius: 16px;
    z-index: 0;
    opacity: 0.5;
    filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.about-image:hover::before {
    opacity: 0.8;
    filter: blur(16px);
}

.about-image img {
    width: 100%;
    border-radius: 14px;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 40px -15px rgba(64, 224, 208, 0.3);
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    border: 2px solid rgba(64, 224, 208, 0.2);
}

.about-image:hover img {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -15px rgba(64, 224, 208, 0.4);
    border-color: rgba(64, 224, 208, 0.4);
}

.about-image::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    border: 2px solid rgba(64, 224, 208, 0.3);
    top: 20px;
    left: 20px;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    background: rgba(64, 224, 208, 0.03);
}

.about-image:hover::after {
    top: 12px;
    left: 12px;
    border-color: rgba(64, 224, 208, 0.5);
}

.about-stats {
    background: linear-gradient(135deg, rgba(25, 35, 50, 0.8) 0%, rgba(20, 25, 42, 0.9) 100%);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 0.3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px -8px rgba(64, 224, 208, 0.15);
    border: 1px solid rgba(64, 224, 208, 0.15);
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.about-stats:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -8px rgba(64, 224, 208, 0.25);
    border-color: rgba(64, 224, 208, 0.3);
}

.about-stats::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.1), transparent);
    transition: left 0.6s;
}

.about-stats:hover::before {
    left: 100%;
}

.about-stats .code-block {
    background: transparent;
    margin-bottom: 0;
    padding: 1.2rem;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2.5rem 0;
    padding: 1.8rem;
    background: linear-gradient(135deg, rgba(25, 35, 50, 0.4) 0%, rgba(20, 25, 42, 0.5) 100%);
    border-radius: 12px;
    border: 1px solid rgba(64, 224, 208, 0.1);
    backdrop-filter: blur(10px);
}

.tech-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
    background: rgba(64, 224, 208, 0.05);
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    border: 1px solid transparent;
    color: #d0d8e0;
}

.tech-item:hover {
    background: rgba(64, 224, 208, 0.1);
    border-color: rgba(64, 224, 208, 0.3);
    transform: translateX(6px);
}

.tech-item::before {
    content: "▹";
    color: #40E0D0;
    margin-right: 0.75rem;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.tech-item:hover::before {
    transform: translateX(4px);
}

/* Education section */
.education {
    padding: 5rem 0;
}

.timeline {
    position: relative;
    margin-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #304050;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #40E0D0;
    transform: translateX(-50%);
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.timeline-subtitle {
    color: #40E0D0;
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.9rem;
    color: #707070;
    margin-bottom: 1rem;
}

/* Projects section */
.projects {
    padding: 5rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(25, 35, 50, 0.7);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.project-description {
    color: #a0a0a0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 0.8rem;
    color: #40E0D0;
}

.project-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.project-link {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(64, 224, 208, 0.1);
    color: #40E0D0;
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.project-link:hover {
    background: rgba(64, 224, 208, 0.2);
    color: #fff;
}

/* Skills section */
.skills {
    padding: 5rem 0;
}

.skill-categories {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.category-btn.active {
    color: #40E0D0;
}

.category-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #40E0D0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 2rem;
}

.skill-item {
    text-align: center;
    padding: 1rem;
    background: rgba(25, 35, 50, 0.7);
    border-radius: 8px;
    transition: transform 0.3s;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 2rem;
    color: #40E0D0;
    margin-bottom: 1rem;
}

.skill-name {
    font-size: 0.9rem;
}

.category-description {
    margin-bottom: 2rem;
    color: #a0a0a0;
    display: none;
}

.category-description.active {
    display: block;
}

/* Contact section */
.contact {
    padding: 5rem 0;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid #40E0D0;
    color: #40E0D0;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: rgba(64, 224, 208, 0.1);
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    color: #707070;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .terminal-wrapper {
        transform: none;
    }

    .terminal-wrapper:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hero {
        align-items: flex-start;
        padding-top: 8rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visuals {
        position: static;
        max-width: 100%;
    }

    .tech-list {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Dark code block animation for terminal effect */
.code-block {
    position: relative;
    padding: 1.5rem;
    background: #14192a;
    border-radius: 8px;
    font-family: monospace;
    margin-bottom: 2rem;
    overflow: hidden;
}

.code-line {
    display: flex;
    margin-bottom: 0.5rem;
}

.code-prompt {
    color: #40E0D0;
    margin-right: 1rem;
}

.code-text {
    color: #e0e0e0;
}

.cursor {
    display: inline-block;
    width: 0.6rem;
    height: 1.2rem;
    background: #40E0D0;
    margin-left: 0.2rem;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(90deg, #40E0D0, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}