/* General Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0f172a;
    color: white;
    overflow-x: hidden;
}

/* Home Section Container */
.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    gap: 40px;
}

/* Problem 1 Fix: Strict 65% Width for Code Area */
.code-area-wrapper {
    width: 65%;
    height: 300px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

#auto-code {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: scrollAnimation 20s linear infinite; /* Problem 2 Fix: Just Scroll */
}

@keyframes scrollAnimation {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.code-line {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    white-space: nowrap;
}

/* Syntax Highlighting Colors */
.keyword { color: #c678dd; }
.func { color: #61afef; }
.var { color: #e06c75; }
.str { color: #98c379; }

/* Info & Button Styling */
.home-content {
    text-align: center;
    max-width: 800px;
}

.home-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 10px 0;
}

.typing-t {
    color: #ffffff;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    
}
.im{
    font-size: 28px;
    font-weight: 700;

}
 h1 span {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
 }
/* Buttons Styling */
.action-area {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.btn-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: #38bdf8;
    color: #0f172a;
    border: 2px solid #38bdf8;
}

.btn-outline {
    background-color: transparent;
    color: #38bdf8;
    border: 2px solid #38bdf8;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

/* Social Icons Display Fix */
.social-box {
    display: flex;
    gap: 25px;
    align-items: center;
}

.s-link {
    color: #cbd5e1;
    font-size: 1.8rem;
    transition: 0.3s;
}

.s-link:hover {
    color: #38bdf8;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .code-area-wrapper { width: 95%; }
    .btn-group { flex-direction: column; width: 100%; }
}

/* Container jahan "I am a" likha hai */
.system-status {
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    color: #94a3b8;
    letter-spacing: 1px;
}

/* Specific Typing Text Style */
.typing-text {
    color: #38bdf8; /* Cyan color */
    font-weight: 600;
    font-family: 'Fira Code', monospace;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5); /* Neon Glow */
    position: relative;
    padding-left: 5px;
}

/* Animated Blinking Cursor */
.typing-text::after {
    content: '|';
    margin-left: 5px;
    color: #38bdf8;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

#home {
    position: relative;
    overflow: hidden;
    /* Vanta background iske andar khud ko fit kar lega */
}

/* Ensure content stays on top of waves */
.home-container {
    position: relative;
    z-index: 2; /* Taake content waves ke upar ho */
}


