:root {
    --primary-color: #00ff9d;
    --secondary-color: #1a1a1a;
    --text-color: #ffffff;
    --code-font: 'Fira Code', 'JetBrains Mono', monospace;
}

body {
    font-family: var(--code-font);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: var(--code-font);
    font-weight: 600;
}

.bg-black{
    background-color: #000;
    background: #000;
}

.text-matrix {
    color: #00ff00;
    font-family: monospace;
    white-space: pre;
  }

.nav-link {
    font-family: var(--code-font);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 157, 0.1) 0%, transparent 70%);
}

.hero-text {
    max-width: 100%;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.typing-container {
    font-size: 1.1rem;
    font-family: var(--code-font);
    min-height: 2em;
    margin: 2rem 0;
    display: flex;
    align-items: center;
}

.typing-text {
    color: var(--primary-color);
    margin: 0 0.2rem;
}

.cursor {
    color: var(--primary-color);
    animation: blink 0.7s infinite;
    margin-left: 0.2rem;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Section Titles */
.section-title {
    font-family: var(--code-font);
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Skill Cards */
.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 157, 0.1);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.skill-card i {
    transition: all 0.3s ease;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

/* Project Cards */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 157, 0.1);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover .btn-outline-light {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.project-content {
    padding: 2rem;
}

.project-tech {
    margin-top: 1rem;
}

/* Form Styles */
.form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color) !important;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 255, 157, 0.25);
}

.form-control:hover {
    border-color: var(--primary-color);
}

/* Buttons */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #00cc7d;
    border-color: #00cc7d;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
}

/* Badges */
.badge {
    margin-right: 10px;
    font-family: var(--code-font);
    font-weight: 500;
    padding: 0.5em 1em;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.badge:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Contact Info */
.contact-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.contact-info a:hover {
    color: var(--primary-color) !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1,
.hero-section h2,
.hero-section p {
    animation: fadeIn 1s ease-out forwards;
}

.hero-section h2 {
    animation-delay: 0.2s;
}

.hero-section p {
    animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    .hero-section{
        padding-top: 80px;
        padding-bottom: 50px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc7d;
}

/* Code Container Styles */
.code-container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 2rem;
    font-family: var(--code-font);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    font-size: 1.1rem;
}

.code-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.1), transparent);
    animation: shine 3s infinite;
}

.code-line {
    margin: 0.5rem 0;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease-out forwards;
}

.code-line:nth-child(1) { animation-delay: 0.1s; }
.code-line:nth-child(2) { animation-delay: 0.2s; }
.code-line:nth-child(3) { animation-delay: 0.3s; }
.code-line:nth-child(4) { animation-delay: 0.4s; }
.code-line:nth-child(5) { animation-delay: 0.5s; }
.code-line:nth-child(6) { animation-delay: 0.6s; }
.code-line:nth-child(7) { animation-delay: 0.7s; }
.code-line:nth-child(8) { animation-delay: 0.8s; }
.code-line:nth-child(9) { animation-delay: 0.9s; }
.code-line:nth-child(10) { animation-delay: 1s; }
.code-line:nth-child(11) { animation-delay: 1.1s; }
.code-line:nth-child(12) { animation-delay: 1.2s; }
.code-line:nth-child(13) { animation-delay: 1.3s; }

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    color: rgba(0, 255, 157, 0.1);
    font-family: var(--code-font);
    font-size: 1.5rem;
    font-weight: 600;
    animation: float 15s infinite linear;
}

.floating-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 40%; left: 80%; animation-delay: -2s; }
.floating-element:nth-child(3) { top: 60%; left: 20%; animation-delay: -4s; }
.floating-element:nth-child(4) { top: 30%; left: 70%; animation-delay: -6s; }
.floating-element:nth-child(5) { top: 70%; left: 30%; animation-delay: -8s; }
.floating-element:nth-child(6) { top: 50%; left: 60%; animation-delay: -10s; }

/* New Animations */
@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Cursor Animation */
.code-container::after {
    content: '|';
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    color: var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Hover Effects */
.code-line:hover {
    background: rgba(0, 255, 157, 0.1);
    border-radius: 5px;
    padding: 0.2rem 0.5rem;
    transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .typing-container {
        font-size: 1.5rem;
    }
    
    .code-container {
        font-size: 1rem;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .typing-container {
        font-size: 1.2rem;
    }
    
    .code-container {
        font-size: 0.9rem;
        padding: 1rem;
    }
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 40px 0;
    display: flex;
    flex-direction: column-reverse;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent,
        var(--primary-color),
        transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-item:first-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.timeline-content {
    width: 45%;
    padding: 25px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    transform: rotate(45deg);
    opacity: 0.5;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 255, 157, 0.3);
}

.timeline-content p {
    color: #fff;
    margin: 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Hover Effects */
.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 20px var(--primary-color);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.2);
    border-color: var(--primary-color);
}

.timeline-item:hover .timeline-content::before {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start;
        margin-left: 30px;
        margin-bottom: 40px;
    }
    
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        padding: 20px;
    }
    
    .timeline-content::before {
        left: -10px;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -10px;
        right: auto;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
    
    .timeline-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        margin-left: 20px;
        margin-bottom: 30px;
    }
    
    .timeline-dot {
        display: none;
    }
    
    .timeline-content {
        width: calc(100% - 40px);
        padding: 15px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
}

/* Matrix Console Styles */
.matrix-console {
    background-color: #000;
    border: 1px solid #0f0;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    font-family: 'Fira Code', monospace;
    margin: 20px 0;
    position: relative;
    width: 100%;
}

.console-header {
    background-color: #111;
    border-bottom: 1px solid #0f0;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.console-title {
    color: #0f0;
    font-size: 16px;
    font-weight: 600;
}

.console-controls {
    display: flex;
    gap: 8px;
}

.console-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #0f0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.console-dot:hover {
    opacity: 1;
}

.console-body {
    padding: 20px;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
}

#console-output {
    color: #0f0;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.console-input-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

.console-prompt {
    color: #0f0;
    font-size: 18px;
    font-weight: 600;
}

.console-input {
    background: transparent;
    border: none;
    color: #0f0;
    font-family: 'Fira Code', monospace;
    font-size: 16px;
    width: 100%;
    outline: none;
    padding: 5px 0;
}

.console-input::placeholder {
    color: #0f0;
    opacity: 0.5;
}

/* Matrix rain effect */
@keyframes matrix-rain {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 0% 100%;
    }
}

@keyframes matrix-fall {
    0% {
        transform: translateY(-100%);
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.matrix-console::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0, 255, 0, 0.1) 0%,
        rgba(0, 255, 0, 0) 100%);
    pointer-events: none;
    animation: matrix-rain 20s linear infinite;
}

/* Help Command Styles */
.help-section {
    color: #0f0;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.help-command {
    margin: 10px 0;
    padding: 5px 0;
    line-height: 1.6;
    display: block;
}

.help-command .text-primary {
    font-weight: 600;
    margin-right: 10px;
    color: #0f0;
}

/* Love Message Styles */
.love-message {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #ff69b4;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    animation: love-glow 2s infinite alternate;
}

.heart {
    font-size: 40px;
    margin-bottom: 15px;
    animation: heart-beat 1s infinite;
}

.message {
    color: #ff69b4;
    font-size: 16px;
    line-height: 1.8;
    text-shadow: 0 0 5px rgba(255, 105, 180, 0.5);
}

@keyframes love-glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 105, 180, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 105, 180, 0.8);
    }
}

@keyframes heart-beat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: start;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.social-icon:hover {
    transform: translateY(-5px);
}


.social-icon i {
    position: relative;
    z-index: 1;
}

/* Certificate Styles */
.certificate-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 255, 157, 0.1),
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

.certificate-card:hover::before {
    opacity: 1;
}

.certificate-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.certificate-info {
    margin-bottom: 20px;
}

.certificate-info p {
    color: #fff;
    margin: 5px 0;
    font-size: 1rem;
}

.certificate-info .issuer {
    color: var(--primary-color);
    font-weight: 500;
}

.certificate-info .date {
    color: #888;
    font-size: 0.9rem;
}

.certificate-info .id {
    color: #666;
    font-size: 0.8rem;
    font-family: 'Fira Code', monospace;
    text-decoration: none;
}


.certificate-tech {
    margin-top: 15px;
}

.certificate-tech .badge {
    margin-right: 5px;
    font-size: 0.8rem;
    padding: 5px 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .certificate-card {
        padding: 20px;
    }
    
    .certificate-content h3 {
        font-size: 1.1rem;
    }
    
    .certificate-info p {
        font-size: 0.9rem;
    }
} 