
:root {
    --primary-color: #00ffcc;
    --bg-black: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Canvas */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navigation */ 
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Animated underscore*/
.logo .cursor {
    color: var(--primary-color); 
    animation: blink-animation 1s steps(2, start) infinite;
    font-weight: bold;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Links Hover Effect */ 
.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }

/* Mobile Nav */ 
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid var(--primary-color);
    }

    .nav-links.active { right: 0; }
    .nav-links li { margin: 1.5rem 0; }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hero-content {
    max-width: 800px;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.role-title {
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--text-dim);
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-description {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.btn-primary {
    padding: 12px 28px;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    margin-right: 1rem;
    transition: 0.3s;
}

.btn-secondary {
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
}

/* About Section */
.about-section {
    padding: 100px 10%;
}

.terminal-container {
    background: #0f0f0f;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 204, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.t-btn {
    width: 12px;
    height: 12px; 
    border-radius: 50%;
    margin-right: 8px;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.terminal-body {
    padding: 25px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

.p-green { color: #27c93f; }
.p-blue { color: #007bff; }
.t-output {
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--text-dim); 
    margin: 10px 0 20px 20px; }

/* Projects Section */ 
.projects-section {
    padding: 100px 10%;
}

.section-label {
    font-family: var(--font-mono);
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 1.5rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(0, 255, 204, 0.05);
}

/* cards */
.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 204, 0.1);
    border-radius: 12px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: all 0.4s ease;
    position: relative;
}

.project-card {
  
    will-change: transform, opacity; 
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    background: rgba(0, 255, 204, 0.03);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-type {
    font-family: var(--font-mono);
    color: #444;
    font-size: 0.8rem;
}

.project-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color); 
}

.project-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* card button*/
.project-footer {
    margin-top: auto;
    padding-top: 20px;
}

.view-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary-color);
    opacity: 0.7;
    transition: 0.3s;
}

.project-card:hover .view-link {
    opacity: 1;
    letter-spacing: 1px;
}



/* Contact & Footer */
.contact-section {
    padding: 100px 10%;
    text-align: center;
}

.email-link {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}
/* footer Styling */ 
footer {
    padding: 60px 10% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #030303;
    width: 100%;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-main);
    color: #fff;
}


.footer-logo span {
    color: var(--primary-color);
        animation: blink-animation 1s steps(2, start) infinite;
    font-weight: bold;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

.footer-status {
    color: #555;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 5px;
}

.social-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(0, 255, 204, 0.05);
}

.footer-bottom-bar {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin-top: 40px;
    opacity: 0.5;
}

.footer-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%; 
} 


/* @madia */ 
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
     .social-links {
        justify-content: center;
     }
}
