/* Base Styles */
body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

#header {
    background-color: black;
    color: white;
}

#header a {
    color: white;
}

#header .hover-sidebar a{
    color:white;
    display: flex;
    font-size: 19px;
    margin-left: 7px;
    /* font-weight: bold; */

}
ul {
  list-style-type: none;
  padding: 0;  /* optional: removes default padding */
  margin: 0;   /* optional: removes default margin */
}

#header .hover-sidebar a:hover{
    color: #064e3b;
    text-decoration: #064e3b;
    text-decoration: wavy;
    font-weight: bold;
    text-transform: capitalize;
}

/* Main Content */
.main_content {
    padding-top: 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    color: #d1fae5;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    color: #eda950;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d1fae5;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #eda950;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Introduction Section */
.intro-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    color: #eda950;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.intro-text p {
    color: #dff8f8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-icon {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: #d1fae5;
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.feature-icon i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-icon span {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Section Styles */
.notesvault-section {
    background-color: transparent;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    margin: 4rem 0;
    padding: 3rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(237, 169, 80, 0.05) 100%);
    pointer-events: none;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.section-icon {
    font-size: 2rem;
    color: #eda950;
    background: linear-gradient(135deg, #eda950 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header h2 {
    color: #d1fae5;
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
}

/* Mission & Vision Section */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.mission-card, .vision-card {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.3) 0%, rgba(4, 120, 87, 0.1) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #eda950;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(237, 169, 80, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 1.5rem;
    color: #eda950;
}

.card-header h3 {
    color: #eda950;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.mission-card p, .vision-card p {
    color: #dff8f8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* How It Helps Section */
.how-it-helps-section {
    border: 2px solid #dff8f8;
}

.problem-solution {
    position: relative;
    z-index: 1;
}

.problem-statement {
    margin-bottom: 3rem;
}

.problem-statement h3 {
    color: #eda950;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.problem-quote {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    color: #d1fae5;
    border-left: 4px solid #10b981;
    padding: 2rem;
    border-radius: 10px;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    position: relative;
    margin: 0;
}

.problem-quote i {
    font-size: 1.5rem;
    opacity: 0.6;
}

.fa-quote-left {
    margin-right: 1rem;
}

.fa-quote-right {
    margin-left: 1rem;
}

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

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.solution-icon i {
    font-size: 1.5rem;
    color: white;
}

.solution-card h4 {
    color: #d1fae5;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.solution-card p {
    color: #dff8f8;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Tech Stack Section */
.tech-stack-section {
    border: 2px solid #eda950;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.tech-category {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(237, 169, 80, 0.3);
}

.tech-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-category-header i {
    font-size: 1.5rem;
    color: #eda950;
    margin-right: 1rem;
}

.tech-category-header h3 {
    color: #eda950;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.status-badge {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.current {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: white;
}

.status-badge.planned {
    background: linear-gradient(135deg, #eda950 0%, #f59e0b 100%);
    color: white;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tech-item i {
    font-size: 1.5rem;
    color: #10b981;
    width: 30px;
    text-align: center;
}

.tech-item span {
    color: #d1fae5;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 100px;
}

.tech-item small {
    color: #9ca3af;
    font-size: 0.9rem;
    flex: 1;
}

/* GitHub Section */
.github-section {
    border: 2px solid #10b981;
}

.github-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.opensource-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.opensource-badge i {
    font-size: 1rem;
}

.github-description {
    color: #dff8f8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.github-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.github-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.github-stat i {
    color: #10b981;
    font-size: 1.2rem;
}

.github-stat span {
    color: #d1fae5;
    font-weight: 600;
}

.contribution-guide h3 {
    color: #eda950;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contribution-steps {
    margin-bottom: 3rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #d1fae5;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
}

.github-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.github-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.github-button.primary {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: white;
}

.github-button.primary:hover {
    background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.github-button.secondary {
    background: transparent;
    color: #10b981;
    border-color: #10b981;
}

.github-button.secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

/* Community Section */
.community-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 78, 59, 0.1) 100%);
    border: 2px solid #10b981;
}

.community-content {
    position: relative;
    z-index: 1;
}

.community-text {
    text-align: center;
    margin-bottom: 3rem;
}

.community-text p {
    color: #dff8f8;
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.community-stat {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: transform 0.3s ease;
}

.community-stat:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.community-stat .stat-number {
    color: #d1fae5;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.community-stat .stat-label {
    color: #9ca3af;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #0b3610 0%, #064e3b 100%);
    color: #ffffff;
    padding: 3rem 1.5rem 2rem;
    font-family: 'Segoe UI', sans-serif;
    margin-top: 4rem;
}

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

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 1 1 250px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #d1fae5;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #c8e6c9;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link svg {
    fill: #ffffff;
    transition: transform 0.2s, fill 0.3s;
}

.social-link:hover svg {
    transform: scale(1.1);
    fill: #b2dfdb;
}

.footer-links,
.footer-community {
    flex: 1 1 180px;
}

.footer-links h4,
.footer-community h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #d1fae5;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
    color: #d1fae5;
    text-decoration: underline;
}

.community-badges {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.gssoc-badge img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.gssoc-badge:hover img {
    transform: scale(1.1);
}

.oss-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #1b5e20;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    color: #fff;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.oss-badge:hover {
    background: #2e7d32;
}

.community-text {
    color: #c8e6c9;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #047857;
    padding-top: 1.2rem;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.copyright {
    color: #c8e6c9;
    margin: 0;
}

.footer-bottom-links a {
    margin: 0 0.6rem;
    color: #c8e6c9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #d1fae5;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .github-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .community-stats {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .notesvault-section {
        padding: 0 1rem;
    }
    
    .tech-category-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .github-cta {
        flex-direction: column;
    }
    
    .github-button {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .problem-quote {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .community-stat {
        flex-direction: column;
        text-align: center;
    }
}

/* Animation for smooth scrolling and entrance effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
}
/*  Make the page a flex-column that fills the viewport  */
html, body{
    height: 100%;          /*  full viewport  */
    margin: 0;             /*  kill default gaps  */
}

body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;     /*  stretch vertically  */
}

/*  Tell the content area to occupy all free space  */
.main_content{
    flex: 1 0 auto;        /*  grow, don’t shrink  */
}

/*  Keep the footer at its natural height and let it
    auto-push to the bottom of the column             */
footer.modern-footer{
    flex-shrink: 0;
    margin-top: auto;      /*  pushes it down when page is short  */
}
