/* Glassmorphism for the content area */
#body-inner {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7; /* Makes reading easier */
    color: #e0e0e0; /* Slightly off-white to reduce eye strain */
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
}

/* Make headers look sharp */
h1, h2, h3 {
    letter-spacing: -0.02em; /* Tighter, modern feel */
    font-weight: 500;
    margin-top: 1.5em;
    color: #ffffff;
}

/* Add a subtle underline to main headers */
h1 {
    border-bottom: 2px solid rgba(0, 255, 150, 0.2);
    padding-bottom: 10px;
    text-transform: uppercase;
    font-size: 2.2rem;
}

/* Styling the main page title */
h1#abhishek-udawat-htgaa-spring-2026 {
    background: linear-gradient(90deg, #ffffff, #00ff96);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(0, 255, 150, 0.2));
    font-weight: 600;
}

/* Glowing Green for Links & Icons */
a:hover, .fas, .fab {
    color: #00ff96 !important; /* "Synthetic Biology" Green */
    text-shadow: 0 0 10px rgba(0, 255, 150, 0.5);
    transition: 0.3s ease;
}

/* Subtle pulse for icons */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.fas, .fab {
    display: inline-block;
    animation: pulse 4s infinite ease-in-out;
}

/* Custom frame for your main project image */
img[src*="hydrogel"] {
    border: 2px solid #00ff96;
    border-radius: 10px;
    padding: 5px;
    background: rgba(0, 255, 150, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 150, 0.3);
}

/* Style the contact info section */
ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 10px;
}

/* Style the LinkedIn and Email links as subtle buttons */
a[href*="mailto"], a[href*="linkedin"] {
    background: rgba(0, 255, 150, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 150, 0.3);
}

/* Style the top-left logo/title area */
#header-wrapper {
    background: transparent !important; /* Let the sidebar glass show through */
    padding: 25px 15px !important;
}

#header-wrapper a {
    font-size: 1.2rem !important;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(0, 255, 150, 0.3);
}

/* --- Sidebar Container Style --- */
#sidebar {
    background-color: rgba(20, 20, 20, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Search Bar Styling --- */
.searchbox {
    margin: 20px 15px !important;
    background: rgba(0, 0, 0, 0.5) !important; /* Deep black-transparent */
    border: 1.5px solid #00ff96 !important;   /* Stronger Bio-Green border */
    border-radius: 30px !important;
    display: block !important;
    box-shadow: 0 0 10px rgba(0, 255, 150, 0.1); /* Subtle outer glow */
}

.searchbox input {
    color: #00ff96 !important; /* Makes typed text green */
    font-weight: 500;
}

.searchbox input::placeholder {
    color: rgba(0, 255, 150, 0.5) !important; /* Dim green for placeholder */
}

.searchbox i {
    color: #00ff96 !important; /* Green magnifying glass */
}

/* Limit the text height in the homework cards */
.article-wrapper p, .docs-content p {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Show exactly 4 lines of text */
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure the cards stay a uniform size */
.article-wrapper {
    max-height: 400px; 
    overflow: hidden;
}
