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

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    line-height: 1.6;
    color: #e6f1ff;
    overflow-x: hidden;
    background-color: #0d1117;
    background-image: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #21262d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.terminal-prompt {
    font-family: 'Courier New', monospace;
    color: #00d4ff;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.terminal-prompt:hover {
    color: #e6f1ff;
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0, 212, 255, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #e6f1ff;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00d4ff;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #21262d;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    color: #e6f1ff;
    padding-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" patternUnits="userSpaceOnUse" width="20" height="20"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
}


.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #8b949e;
    line-height: 1.6;
}

.hero-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    position: relative;
}

.hero-link:hover {
    color: #e6f1ff;
    transform: translateX(5px);
}

.hero-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-link:hover::before {
    opacity: 1;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #e6f1ff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #00d4ff;
    border-radius: 2px;
}

.subsection-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e6f1ff;
}

.bg-light {
    background-color: #0d1117;
    background-image: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #8b949e;
}

/* Career Goal Section */
.career-goal-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.goal-card {
    background: rgba(22, 27, 34, 0.8);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-5px);
}

.goal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007acc 0%, #00d4ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.goal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e6f1ff;
}

/* Education Section - Simplified for Single Degree */
.education-section {
    margin-bottom: 3rem;
}

.education-simple {
    background: rgba(22, 27, 34, 0.8);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 2rem;
}

.education-simple h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #e6f1ff;
}

.education-simple .institution {
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.education-simple .details {
    color: #8b949e;
    margin-bottom: 0.25rem;
}

.education-simple .gpa {
    color: #8b949e;
    font-weight: 500;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.course-card {
    background: rgba(22, 27, 34, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-left: 4px solid #00d4ff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #00d4ff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-3px);
}

.course-card h4 {
    color: #e6f1ff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Awards Grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.award-card {
    background: rgba(22, 27, 34, 0.8);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
}

.award-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007acc 0%, #00d4ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.award-card h4 {
    color: #e6f1ff;
    margin-bottom: 0.5rem;
}

/* Experience Section */
.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-date {
    color: #00d4ff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.experience-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #e6f1ff;
}

.company {
    color: #00d4ff;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.experience-details {
    list-style: none;
}

.experience-details li {
    padding: 0.25rem 0;
    color: #8b949e;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.experience-details li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0.25rem;
    font-size: 0.8rem;
    color: #00d4ff;
}

/* Professional Service Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(22, 27, 34, 0.8);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007acc 0%, #00d4ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #e6f1ff;
}

.role {
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Projects Section */
.projects-grid {
    max-width: 800px;
    margin: 0 auto;
}

.projects-grid-detailed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card-detailed {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.project-card-detailed:last-child {
    border-bottom: none;
}

.project-card-detailed h4 {
    color: #e6f1ff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.project-period {
    color: #00d4ff;
    font-weight: 400;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-card-detailed p {
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-card {
    background: rgba(22, 27, 34, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

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

.placeholder-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #007acc 0%, #00d4ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.2)"/><path d="M 5 10 L 15 10 M 10 5 L 10 15" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');
    opacity: 0.4;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #e6f1ff;
}

.project-status {
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: rgba(0, 122, 204, 0.2);
    color: #e6f1ff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #00d4ff;
}

/* Video Demos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: rgba(22, 27, 34, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #007acc 0%, #00d4ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="data" patternUnits="userSpaceOnUse" width="10" height="10"><rect width="10" height="10" fill="rgba(255,255,255,0.1)"/><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23data)"/></svg>');
    opacity: 0.4;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #007acc 100%);
    color: #ffffff;
    transform: scale(1.02);
}

.video-placeholder p {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.video-card h4 {
    padding: 1rem 1rem 0.5rem;
    color: #e6f1ff;
    font-size: 1.1rem;
}

.video-card p {
    padding: 0 1rem 1rem;
    color: #8b949e;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #00d4ff;
    font-size: 1.1rem;
}

.contact-details h4 {
    color: #e6f1ff;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-details p {
    color: #8b949e;
}

.resume-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resume-link:hover {
    color: #e6f1ff;
    text-decoration: underline;
    transform: translateX(2px);
}

.contact-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #e6f1ff;
    text-decoration: underline;
    transform: translateX(2px);
}

.contact-form {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #e6f1ff;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: rgba(22, 27, 34, 0.8);
    color: #e6f1ff;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: rgba(13, 17, 23, 0.9);
    color: #8b949e;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    font-size: 0.9rem;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(13, 17, 23, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

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

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

    .timeline-item {
        flex-direction: row !important;
        padding-left: 3rem;
    }

    .timeline-year {
        position: absolute;
        left: 0;
        top: 0;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .timeline-content {
        margin: 0;
        max-width: none;
    }

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

    .experience-item {
        padding-left: 3rem;
    }

    .experience-date {
        left: 0;
        top: 0;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .experience-content {
        margin-left: 0;
    }

    .project-card.featured {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .career-goal-content,
    .courses-grid,
    .awards-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00d4ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
