/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #111827;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #00ff41;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00bfff;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(17, 24, 39, 0.98);
    box-shadow: 0 2px 20px rgba(0, 255, 65, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: linear-gradient(135deg, #00ff41, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00ff41;
    background: rgba(0, 255, 65, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00ff41;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.matrix-rain {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
    animation: matrix-float 20s ease-in-out infinite;
}

@keyframes matrix-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.profile-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 40px;
}

.profile-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00ff41;
    position: relative;
    z-index: 2;
}

.profile-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #00ff41;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    color: #00ff41;
    margin-bottom: 30px;
    font-family: 'Courier New', monospace;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-bottom: 40px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 65, 0.1);
    border: 2px solid #00ff41;
    border-radius: 50%;
    color: #00ff41;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00ff41;
    color: #111827;
    transform: translateY(-5px);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #00ff41, #00bfff);
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 65, 0.4);
}

.arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.highlight {
    color: #00ff41;
}

.section-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #00ff41, #00bfff);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about {
    background: #1f2937;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.about-text p {
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.highlight-card {
    background: #111827;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #374151;
    transition: all 0.3s ease;
    text-align: center;
}

.highlight-card:hover {
    border-color: #00ff41;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.1);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.highlight-card p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Skills Section */
.skills {
    background: #111827;
}

.skills-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.skills-categories {
    display: grid;
    gap: 40px;
}

.skill-category {
    background: #1f2937;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #374151;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-icon {
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.5rem;
    color: #ffffff;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #d1d5db;
}

.skill-bar {
    height: 8px;
    background: #374151;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(135deg, #00ff41, #00bfff);
    border-radius: 4px;
    width: 0%;
    transition: width 2s ease-in-out;
}

.certifications {
    background: #1f2937;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #374151;
    height: fit-content;
}

.certifications h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #ffffff;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #111827;
    border-radius: 10px;
    border: 1px solid #374151;
    transition: all 0.3s ease;
}

.cert-item:hover {
    border-color: #00ff41;
}

.cert-icon {
    font-size: 1.2rem;
}

/* Projects Section */
.projects {
    background: #1f2937;
}

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

.project-card {
    background: #111827;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #374151;
    transition: all 0.3s ease;
}

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

.project-card.featured {
    border-color: #00ff41;
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.1);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(17, 24, 39, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #00ff41;
    color: #111827;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.project-content p {
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    padding: 5px 12px;
    background: #1f2937;
    color: #00ff41;
    border: 1px solid #374151;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #00ff41;
}

/* Experience Section */
.experience {
    background: #111827;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00ff41, #00bfff);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-dot {
    position: absolute;
    left: 21px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #00ff41;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.timeline-content {
    background: #1f2937;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #374151;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: #00ff41;
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.1);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.timeline-icon {
    font-size: 1.5rem;
}

.timeline-date {
    color: #00ff41;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.timeline-content h4 {
    color: #00ff41;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #d1d5db;
    margin-bottom: 15px;
    line-height: 1.6;
}

.achievements {
    list-style: none;
}

.achievements li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.achievements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00ff41;
    font-weight: bold;
}

/* Contact Section */
.contact {
    background: #1f2937;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: #111827;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #374151;
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #d1d5db;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff41;
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #00ff41, #00bfff);
    color: #111827;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #111827;
    border-radius: 10px;
    border: 1px solid #374151;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #00ff41;
    box-shadow: 0 5px 20px rgba(0, 255, 65, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item h4 {
    color: #ffffff;
    margin-bottom: 5px;
}

.contact-item p {
    color: #d1d5db;
}

.social-section {
    margin: 40px 0;
    padding: 20px;
    background: #111827;
    border-radius: 10px;
    border: 1px solid #374151;
}

.social-section h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.availability {
    padding: 20px;
    background: #111827;
    border-radius: 10px;
    border: 1px solid #374151;
}

.availability h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.availability p {
    color: #d1d5db;
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background: #111827;
    border-top: 1px solid #374151;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-center,
.footer-right {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-quote {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

.footer-quote p {
    color: #6b7280;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(17, 24, 39, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .skills-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-dot {
        left: 11px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .profile-image img {
        width: 130px;
        height: 130px;
    }
}