/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0073e6;
    --secondary-color: #00ff9d;
    --dark-bg: #121212;
    --light-bg: #f5f5f5;
    --terminal-bg: #1e1e1e;
    --terminal-text: #00ff9d;
    --text-dark: #333;
    --text-light: #f5f5f5;
    --accent-color: #ff5722;
    --card-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    transition: all 0.3s ease;
}

/* Terminal Styles */
.terminal-bg {
    background-color: var(--dark-bg);
    background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    overflow: hidden;
}

.terminal-container {
    width: 80%;
    max-width: 900px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
}

.terminal-header {
    background-color: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.close {
    background-color: #ff5f56;
}

.minimize {
    background-color: #ffbd2e;
}

.maximize {
    background-color: #27c93f;
}

.terminal-title {
    color: #ddd;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
}

.terminal-body {
    padding: 20px;
    color: var(--terminal-text);
    font-family: 'Fira Code', monospace;
    font-size: 16px;
    min-height: 300px;
    max-height: 60vh;
    overflow-y: auto;
}

.terminal-line {
    margin-bottom: 10px;
    line-height: 1.4;
}

.typing-text {
    display: inline;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--terminal-text);
}

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

/* Main Content Styles */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header & Navigation */
header {
    background-color: var(--dark-bg);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.nav-links li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 24px;
}

/* Hero Section */
.hero {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1555066931-4365d14bab8c');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #005bb7;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,115,230,0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,255,157,0.3);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    text-align: center;
}

.stat-item {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -35px auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0,115,230,0.3);
}

.service-icon i {
    font-size: 30px;
    color: #fff;
}

.service-content {
    padding: 0 30px 30px;
    text-align: center;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-text {
    font-size: 1rem;
    color: #666;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.project-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.project-tag {
    padding: 5px 15px;
    background-color: #eee;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #555;
}

.project-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #005bb7;
}

/* Skills Section */
.skills {
    padding: 80px 0;
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.skills .section-title {
    color: var(--text-light);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill-category {
    background-color: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.category-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.category-title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-name {
    font-size: 1rem;
}

.skill-percentage {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 10px;
    position: relative;
}

/* Education Section */
.education {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.timeline:before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
}

.timeline-content {
    width: calc(50% - 30px);
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-content:before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
    top: 20px;
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content:before {
    right: auto;
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-date {
    position: absolute;
    top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-item .timeline-date {
    left: calc(50% + 30px);
}

.timeline-item:nth-child(even) .timeline-date {
    left: auto;
    right: calc(50% + 30px);
    text-align: right;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.timeline-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.timeline-text {
    font-size: 0.95rem;
    color: #777;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.blog-excerpt {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #005bb7;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 50px;
}

.contact-info {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.contact-info:before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: -50%;
    left: -25%;
    opacity: 0.1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    position: relative;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.contact-text {
    font-size: 1rem;
}

.contact-text a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-icon i {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,115,230,0.3);
}

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

.btn-submit {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background-color: #005bb7;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,115,230,0.3);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo-link {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-text {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-newsletter {
    flex: 2;
    min-width: 300px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #444;
    background-color: rgba(255,255,255,0.05);
    border-radius: 8px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.newsletter-btn {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #005bb7;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* Comments Section Styles */
.comments-section {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.comments-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
}

.comments-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.comment-form {
    margin-bottom: 40px;
}

.comments-list {
    margin-top: 40px;
}

.comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.comment-date {
    font-size: 0.9rem;
    color: #888;
}

.comment-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.nested-comments {
    margin-left: 40px;
    margin-top: 30px;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,115,230,0.5);
}

.dark-mode-toggle i {
    font-size: 1.5rem;
    color: #fff;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.dark-mode .section-title {
    color: var(--text-light);
}

.dark-mode .about, 
.dark-mode .education,
.dark-mode .blog,
.dark-mode .contact,
.dark-mode .services,
.dark-mode .projects {
    background-color: var(--dark-bg);
}

.dark-mode .service-card,
.dark-mode .project-card,
.dark-mode .blog-card,
.dark-mode .contact-form,
.dark-mode .comments-section,
.dark-mode .stat-item {
    background-color: var(--card-bg);
    color: var(--text-light);
}

.dark-mode .service-title,
.dark-mode .project-title,
.dark-mode .blog-title,
.dark-mode .form-label,
.dark-mode .comments-title,
.dark-mode .comment-author {
    color: var(--text-light);
}

.dark-mode .service-text,
.dark-mode .project-desc,
.dark-mode .blog-excerpt,
.dark-mode .comment-text {
    color: #aaa;
}

.dark-mode .form-control {
    background-color: rgba(255,255,255,0.05);
    border-color: #444;
    color: var(--text-light);
}

.dark-mode .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,115,230,0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        margin: 0;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item, 
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 80px;
        padding-right: 0;
    }
    
    .timeline-content, 
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-item .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin-bottom: 10px;
        display: block;
    }
    
    .timeline-content:before,
    .timeline-item:nth-child(even) .timeline-content:before {
        display: none;
    }
    
    .footer-content {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .terminal-container {
        width: 95%;
    }
}

/* Active nav link */
.nav-links li a.active,
.nav-links li a.active:hover {
    color: var(--secondary-color);
}

.nav-links li a.active:after {
    width: 100%;
}

/* Nav links show on mobile when active */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 100;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

