/* ========================================
   Portfolio Page Specific Styles (CDG-inspired)
   ======================================== */

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

/* Navigation - Fixed & Transparent */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s;
}

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

.nav-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-brand:hover {
    color: #667eea;
}

.nav-tabs {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-tab {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-tab:hover {
    color: #667eea;
}

.nav-tab::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s;
}

.nav-tab:hover::after {
    width: 100%;
}

/* Hero Full Screen */
.hero-full {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero-content-center {
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
}

.scroll-down {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 40px;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s;
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    background: white;
    color: #667eea;
    transform: translateY(-5px);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Styling */
.section {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.section-alt {
    background: transparent;
    /* Removed background color as requested */
}

.section-title-with-icon {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.section-anchor {
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.section-anchor:hover {
    opacity: 1;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.about-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.about-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.about-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-value {
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 600;
    line-height: 1.6;
}

.about-value a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.about-value a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Skills Grid Enhanced */
.skills-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skill-category-enhanced {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
}

.skill-category-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

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

.skill-category-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: #ede9fe;
    color: #5b21b6;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.skill-tag:hover {
    background: #5b21b6;
    color: white;
    transform: scale(1.05);
}

/* Company Header */
.company-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.company-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.company-initial {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.company-details {
    flex: 1;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 5px 0;
}

.company-period {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

/* Projects Section - New Layout */
.projects-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    min-height: 600px;
}

/* Left Side: Filters + Card List */
.projects-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.projects-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.filter-btn {
    padding: 8px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: white;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    max-height: calc(100vh - 400px);
    padding-right: 10px;
}

.project-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.project-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.project-card.active {
    border-color: #4f46e5;
    background: #f5f3ff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.project-card-year {
    display: inline-block;
    padding: 4px 12px;
    background: #ede9fe;
    color: #5b21b6;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.project-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-card-tech-tag {
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Right Side: Detail View */
.projects-right {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.project-detail-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9ca3af;
    text-align: center;
}

.project-detail-empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.project-detail-empty-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.project-detail-content {
    display: none;
}

.project-detail-content.active {
    display: block;
}

.project-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.project-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 15px 0;
}

.project-detail-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.project-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.project-detail-year {
    background: #4f46e5;
    color: white;
}

.project-detail-company {
    background: #059669;
    color: white;
}

.project-detail-link {
    background: white;
    color: #1f2937;
    border: 2px solid #e5e7eb;
    cursor: pointer;
}

.project-detail-link:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* Legacy class for backwards compatibility */
.project-detail-github {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1f2937;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.project-detail-github:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

.project-detail-section {
    margin-bottom: 30px;
}

.project-detail-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4f46e5;
    margin: 0 0 15px 0;
}

.project-detail-section-content {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1rem;
}

.project-detail-section-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-detail-section-content ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.project-detail-section-content ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #4f46e5;
    font-weight: 700;
    font-size: 1.2rem;
}

.project-detail-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-detail-tech-tag {
    background: #ede9fe;
    color: #5b21b6;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

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

    .projects-right {
        position: static;
        max-height: none;
    }

    .projects-list {
        max-height: 400px;
    }
}

.project-title-with-github {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
    /* Reduced margin */
}


.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 15px 0;
}

.github-link-inline {
    color: #6b7280;
    transition: all 0.3s;
    flex-shrink: 0;
}

.github-link-inline:hover {
    color: #1f2937;
    transform: scale(1.1);
}

.project-description {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.project-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.project-highlights li {
    color: #374151;
    line-height: 1.8;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.project-highlights li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #667eea;
    font-weight: 700;
    font-size: 1.2rem;
}

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

.tech-tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.tech-tag:hover {
    background: #667eea;
    color: white;
}

.project-detail-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.project-detail-link:hover {
    color: #764ba2;
    gap: 10px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 40px 40px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.footer-content p {
    margin-bottom: 20px;
    color: #d1d5db;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-links span {
    color: #6b7280;
}

.back-to-top {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.back-to-top:hover {
    background: #764ba2;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-content {
        padding: 15px 20px;
    }

    .nav-tabs {
        gap: 15px;
        font-size: 0.85rem;
    }

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

    .main-container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title-with-icon {
        font-size: 1.8rem;
    }

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

    .skills-grid-enhanced {
        grid-template-columns: 1fr;
    }

    .company-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-timeline {
        /* Adjusted for removed padding */
    }

    .project-timeline-item {
        /* Already column by default in new design, but ensuring gap */
        gap: 15px;
    }

    .project-date {
        min-width: auto;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .back-to-top {
        position: static;
        margin: 20px auto 0;
    }
}


/* Profile Navigation in Hero */
.profile-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.profile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 120px;
}

.profile-nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.profile-nav-icon {
    font-size: 2rem;
}

/* About Grid Simple - Changed to List */
/* About Grid Simple - Responsive Grid */
.about-grid-simple {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .about-grid-simple {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-item-simple {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.about-item-simple:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #667eea;
}

.about-item-simple .about-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.about-content {
    flex: 1;
}

.about-item-simple .about-label {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-item-simple .about-value {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
}

.about-item-simple .about-value a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.about-item-simple .about-value a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Links Section */
.links-section {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.link-item:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.link-item svg {
    width: 20px;
    height: 20px;
}

/* Side Projects Divider */
.side-projects-divider {
    margin: 80px 0 40px 0;
    text-align: center;
}

.side-projects-title {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    padding: 15px 40px;
    background: white;
    border: 2px solid #667eea;
    border-radius: 50px;
    position: relative;
}

.side-projects-title::before,
.side-projects-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #667eea);
}

.side-projects-title::before {
    right: 100%;
    margin-right: 20px;
}

.side-projects-title::after {
    left: 100%;
    margin-left: 20px;
    background: linear-gradient(to left, transparent, #667eea);
}

/* Side Project Styling */
.project-timeline-item.side-project {
    opacity: 0.95;
}

.project-timeline-item.side-project::before {
    background: #a78bfa;
    box-shadow: 0 0 0 2px #a78bfa;
}

.project-timeline-item.side-project .project-content {
    border-color: #e9d5ff;
}

.project-timeline-item.side-project .project-content:hover {
    border-color: #a78bfa;
}

/* Career Timeline */
.career-timeline {
    position: relative;
    padding-left: 30px;
}

.career-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.career-item {
    position: relative;
    margin-bottom: 50px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
}

.career-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 35px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #667eea;
}

.career-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.career-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.career-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.career-initial {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.career-details {
    flex: 1;
}

.career-company {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 5px 0;
}

.career-position {
    color: #6b7280;
    font-size: 1rem;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.career-period {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.career-description {
    margin-top: 20px;
}

.career-description>p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 15px;
}

.career-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-highlights li {
    color: #374151;
    line-height: 1.8;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.career-highlights li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #667eea;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .profile-nav {
        gap: 15px;
    }

    .profile-nav-item {
        min-width: 100px;
        padding: 15px 20px;
    }

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

    .career-timeline {
        padding-left: 20px;
    }
}

/* README Button */
.readme-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.readme-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* README Modal */
.readme-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.readme-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: slideUp 0.3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.readme-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.readme-close:hover {
    background: #667eea;
    color: white;
    transform: rotate(90deg);
}

.readme-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 30px 0;
    padding-right: 40px;
}

.readme-section {
    margin-bottom: 30px;
}

.readme-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
    margin: 0 0 15px 0;
}

.readme-section p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1rem;
}

.readme-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.readme-section ul li {
    color: #374151;
    line-height: 1.8;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.readme-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
}

.readme-actions {
    margin-top: 40px;
    text-align: center;
}

.readme-github-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #1f2937;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.readme-github-btn:hover {
    background: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Mobile */
@media (max-width: 768px) {
    .readme-modal-content {
        padding: 30px 20px;
        max-height: 85vh;
    }

    .readme-title {
        font-size: 1.5rem;
        padding-right: 50px;
    }

    .readme-section h3 {
        font-size: 1.1rem;
    }
}