* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}



.logo-link {
    text-decoration: none;
}

        .logo {
            margin: 0;
    color: #2c3e50;
}

        .menu-button {
            background-color: #4CAF50;
            color: white;
            border: none;
            font-size: 1.5rem;
    cursor: pointer;
            padding: 0.5rem 0.7rem;
            border-radius: 4px;
    display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

        .menu-button:hover {
            background-color: #45a049;
            transform: translateY(-2px);
            box-shadow: 0 4px 6px rgba(0,0,0,0.15);
        }
        
.sidebar {
    position: fixed;
    top: 65px;
    left: -250px;
    width: 250px;
    height: calc(100vh - 65px);
    background-color: white;
    padding: 2rem;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4CAF50;
}

.project-link {
    display: block;
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: #4CAF50;
    color: white;
    transform: translateX(5px);
}

.hero {
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: white;
    text-align: center;
    padding: 8rem 2rem 4rem;
    margin-top: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.btn:hover {
    background-color: #45a049;
}

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        
.about-section {
    padding: 4rem 2rem;
    background-color: white;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.highlight {
    color: #4CAF50;
    font-weight: 600;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2rem 0;
    justify-content: center;
}

.tech-badge {
    background-color: #e9ecef;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.projects-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.projects-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
    padding-bottom: 4rem; /* Make space for the button */
    min-height: 250px; 
}

.project-card p {
    /* This makes the paragraph take up available space */
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}
.project-card .btn {
    /* Position the button at the bottom */
    position: absolute;
    bottom: 2rem; /* Match the padding of the card */
    left: 2rem;
}

        .donation-container {
            text-align: center;
            margin-top: 20px;
        }
        
        footer {
            background-color: #2c3e50;
            color: white;
            text-align: center;
            padding: 2rem;
        }
        
        footer a {
            color: #4CAF50;
            text-decoration: none;
        }
        
        footer a:hover {
            text-decoration: underline;
        }

        /* Enhanced styling for the Excel Hierarchy Organizer project card */
.project-card.featured {
    border: 2px solid #4CAF50;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
    transform: scale(1.03);
    position: relative;
    overflow: hidden;
}

.project-card.featured::before {
    content: "Featured";
    position: absolute;
    top: 0;
    right: 0;
    background-color: #4CAF50;
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom-left-radius: 8px;
}

.project-card.featured h3 {
    color: #4CAF50;
    font-size: 1.3rem;
}

.project-card.featured .btn {
    background-color: #2c3e50;
}

.project-card.featured .btn:hover {
    background-color: #1a252f;
}

        /* Enhanced styling for the Excel Hierarchy Organizer sidebar link */
        .project-link.featured {
            background-color: #4CAF50;
    color: white;
            font-weight: bold;
            border-left: 4px solid #2c3e50;
            position: relative;
            padding-left: 1.5rem;
        }

        .project-link.featured::before {
            content: "★";
            position: absolute;
            left: 0.5rem;
            top: 50%;
            transform: translateY(-50%);
        }

        .project-link.featured:hover {
            background-color: #3d9140;
            transform: translateX(8px);
}


/* Sidebar Category Styling */
.sidebar-category {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.sidebar-category:last-child {
    border-bottom: none;
}

.sidebar-category h3 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #4CAF50;
}

/* Project Category Filters */
.project-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-filter {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-filter:hover {
    background-color: #e9ecef;
}

.category-filter.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

/* Hide projects for filtering */
.projects-grid .project-card {
    display: none;
}

.projects-grid .project-card.show {
    display: block;
}

@media (max-width: 768px) {
    .project-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-filter {
        width: 80%;
        text-align: center;
    }
}


        @media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .project-card {
        padding: 1.5rem;
    }

}
@media screen and (max-width: 480px) {
    .project-card .btn {
        position: absolute;
        bottom: 2rem;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        width: calc(100% - 4rem);
        text-align: center;
      }
  }
  
  /* Prevent card overlap on very large screens (like 55" TVs) */
  @media screen and (min-width: 1800px) {
    .projects-grid {
      grid-template-columns: repeat(3, 1fr);
      max-width: 1600px;
      gap: 3rem;
    }
    
    .project-card {
      margin: 0;
    }
    
    .project-card.featured {
      transform: scale(1.02);
    }
  }