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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

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

header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00ff41;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
}

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

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    color: #00ff41;
    background: rgba(0, 255, 65, 0.1);
    transform: translateY(-2px);
}

main {
    margin-top: 100px;
    padding: 2rem 0;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(45deg, rgba(0, 255, 65, 0.1), rgba(0, 123, 255, 0.1));
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ff41, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.author-info {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #00ff41;
    margin-bottom: 3rem;
}

.author-info h2 {
    color: #00ff41;
    margin-bottom: 1rem;
}

.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.cert-badge {
    background: linear-gradient(45deg, #007bff, #0056b3);
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cert-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.roadmap-section {
    margin-bottom: 3rem;
}

.roadmap-section h2 {
    color: #00ff41;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.roadmap-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00ff41, #007bff);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.roadmap-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.roadmap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ff41, transparent);
    transition: left 0.5s ease;
}

.roadmap-card:hover::before {
    left: 100%;
}

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

.roadmap-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.roadmap-card ul {
    list-style: none;
    padding-left: 1rem;
}

.roadmap-card li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.roadmap-card li::before {
    content: '▶';
    color: #00ff41;
    position: absolute;
    left: 0;
}

.timeline {
    position: relative;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #00ff41, #007bff);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 5%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 5%;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #00ff41;
    border-radius: 50%;
    border: 3px solid #0a0a0a;
    box-shadow: 0 0 20px #00ff41;
}

.partners {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
}

.partners h3 {
    color: #00ff41;
    margin-bottom: 1rem;
}

.partner-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.partner-links a {
    color: #007bff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #007bff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.partner-links a:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

.content-index {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.content-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #00ff41;
    transition: all 0.3s ease;
}

.content-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.difficulty {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 1rem;
}

.beginner { background: #28a745; }
.intermediate { background: #ffc107; color: #000; }
.advanced { background: #dc3545; }
.expert { background: #6f42c1; }

footer {
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #333;
    margin-top: 4rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #00ff41;
    text-decoration: none;
    padding: 0.5rem;
    border: 1px solid #00ff41;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00ff41;
    color: #000;
    transform: scale(1.1);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 2px solid #00ff41;
    color: #00ff41;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #00ff41;
    color: #000;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .timeline::before { left: 20px; }
    .timeline-content { width: 80%; margin-left: 40px !important; }
    .timeline-marker { left: 20px; }
    
    /* Mobile Navigation */
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        border-top: 2px solid #00ff41;
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-radius: 0;
    }
    
    nav {
        position: relative;
    }
}

/* Search and Filter Styles */
.search-filter-section {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid #00ff41;
}

.search-container {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #333;
    border-radius: 10px;
    color: #e0e0e0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.search-input::placeholder {
    color: #888;
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: none;
}

.clear-search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00ff41;
}

.clear-search-btn.visible {
    display: block;
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-container label {
    color: #00ff41;
    font-weight: bold;
}

.filter-select {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #00ff41;
}

.filter-select option {
    background: #1a1a2e;
    color: #e0e0e0;
}

.search-info {
    color: #00ff41;
    font-size: 0.9rem;
    font-style: italic;
}

/* Content item highlighting for search */
.content-item.search-highlight {
    border-left-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

.roadmap-card.search-highlight {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

/* External link styling */
.roadmap-card a, .content-item a {
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.roadmap-card a:hover, .content-item a:hover {
    color: #00ff41;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.roadmap-card a::after {
    content: " 🔗";
    font-size: 0.8em;
    opacity: 0.7;
}

.roadmap-card a:hover::after {
    opacity: 1;
}

.content-item.hidden,
.roadmap-card.hidden {
    display: none;
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00ff41, #007bff);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 1001;
}