body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Prevents horizontal scrollbar if content is too wide */
}

a {
    color: #ff69b4; /* Soft pink */
    text-decoration: none;
    transition: color 0.2s;
}

a:hover, a:focus {
    color: #d94f9f; /* Slightly deeper pink on hover */
    text-decoration: underline;
}

/* --- Main Header --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Standard header height */
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Shadow always visible */
}

#logo-container {
    text-align: center; /* Kept for now, but no logo */
}

/* Removed #hackathon-logo styles as element is gone */

/* Scrolled state for header and logo - REMOVED/SIMPLIFIED as animation is gone */
/* body.scrolled #main-header { ... } */
/* body.scrolled #hackathon-logo { ... } */

/* --- Content Area --- */
#content-area {
    /* padding-top: 80px; Adjusted to clear the main-nav if it's at top:0 */
    background-color: #f8f9fa;
}

/* body.scrolled #content-area { ... } */ /* REMOVED as padding is now static */

/* --- Navigation --- */
#main-nav {
    position: fixed;
    top: 0px; /* Assuming main-header is commented out and this is the topmost bar */
    left: 0;
    width: 100%;
    background-color: rgba(255, 240, 245, 0.85);
    padding: 10px 0; /* Reverted from 20px based on previous requests */
    text-align: center;
    z-index: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

/* body.scrolled #main-nav { ... } */ /* REMOVED as nav is always visible */

#main-nav a {
    color: #333333; /* Darker color for better contrast on very light pink */
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

#main-nav a:hover, #main-nav a.active {
    background-color: #ff69b4; /* A vibrant pink for women's health theme */
    color: #fff; /* White text on darker pink hover is fine */
}

#main-nav a.cta-button {
    background-color: #ff69b4;
    color: white; /* White text on darker pink CTA is fine */
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
}

#main-nav a.cta-button:hover {
    background-color: #ff85c1;
}

/* --- New styles for Projects section title --- */
.section-title-wrapper {
    padding: 60px 20px 0; /* Padding for around title, adjust as needed */
    max-width: 900px;
    margin: 0 auto;
}

.section-title-wrapper h2 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    border-bottom: 2px solid #ff69b4;
    display: inline-block;
    padding-bottom: 10px;
}

/* Adjust .projects-container if it's directly after .section-title-wrapper's h2 */
#projects .projects-container {
    margin-top: 0; /* Assuming margin-bottom from h2 is sufficient */
    /* .projects-container already has max-width: 1200px and other styles from before */
}

/* --- General Content Sections --- */
.content-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    margin-bottom: 20px; /* Space between sections */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    border-bottom: 2px solid #ff69b4;
    display: inline-block;
    padding-bottom: 10px;
}

.content-section h3 {
    color: #555;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.content-section p, .content-section ul {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.content-section ul {
    list-style: disc;
    padding-left: 20px;
}

.content-section strong {
    color: #ff69b4;
}

/* Registration button in about section */
#about .cta-button {
    display: inline-block;
    background-color: #ff69b4;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 105, 180, 0.2);
}

#about .cta-button:hover {
    background-color: #ff85c1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

/* --- Hero Section (Initial welcome message) --- */
#hero-section {
    text-align: center;
    padding: 40px 20px; /* Reduced padding as it's part of the scrollable content */
    color: #333; /* Visible against light background */
}

#hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #2c3e50; /* Dark blue for a professional look */
}


/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #333;
    color: #f4f4f4;
    font-size: 0.9em;
}

.footer-links a {
    color: #FFB6C1; /* Light pink to match nav accent */
    text-decoration: none;
    margin: 0 10px;
}

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

/* --- Projects Page Specific Styles --- */
header { /* General header for other pages like projects.html */
    background-color: #333;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 1.8em;
}

.logo-container-secondary img#hackathon-logo-small {
    max-height: 50px; /* Smaller logo for secondary pages */
}


.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    gap: 10px; /* Reduced from 20px to 10px */
    max-width: 1200px;
    margin: 20px auto;
}

.project-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: calc(33.333% - 20px); /* Adjusted from 40px to 20px to account for smaller gap */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image covers the area, might crop */
    border-radius: 6px;
    margin-bottom: 15px;
}

.project-card h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.project-prize {
    font-style: italic;
    color: #666;
    margin-bottom: 12px;
    font-size: 0.95em;
}

.project-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
    min-height: 60px; /* Ensure some minimum space for description */
}

.project-team {
    font-size: 0.9em;
    color: #777;
}

.project-team strong {
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .project-card {
        width: calc(50% - 30px); /* 2 cards per row */
    }
    #main-nav a {
        margin: 0 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    #hero-section h1 {
        font-size: 2.2em;
    }
    .content-section h2 {
        font-size: 1.8em;
    }
    #main-header {
        /* Simpler interaction on mobile if needed, or adjust scroll effects */
    }
    body.scrolled #main-header {
        height: 80px;
    }
    body.scrolled #hackathon-logo {
        transform: scale(0.4) translateY(-50%);
        max-height: 60px;
    }
    #content-area {
        padding-top: 60px; /* Changed from 100vh to match the header height */
    }
    body.scrolled #content-area {
        padding-top: 60px; /* Changed from 80px to be consistent */
    }

    .project-card {
        width: calc(100% - 40px); /* 1 card per row */
    }

    #hamburger {
        display: block;
    }
}

@media (max-width: 480px) {
    #hero-section h1 {
        font-size: 1.8em;
    }
    .content-section h2 {
        font-size: 1.5em;
    }
    .content-section {
        padding: 40px 15px;
    }
}

/* --- Sponsor Logos --- */
.sponsor-logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center logos within the container */
    align-items: center;
    gap: 20px; /* Space between logos */
    padding: 20px 0;
}

.sponsor-logo {
    max-height: 60px; /* Adjust as needed, keeps logos from being too tall */
    max-width: 150px; /* Adjust as needed, keeps logos from being too wide */
    object-fit: contain; /* Ensures the whole logo is visible, might add whitespace */
    margin: 10px;
}

/* Optional: Different sizes for gold/silver if needed */
.gold-sponsors .sponsor-logo {
    max-height: 70px;
    /* Make gold sponsors 3 per line */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 260px; /* Calculated to fit 3 items + margins + gaps within ~900px container width */
}

/* Make Niraj Bhatia logo slightly larger */
.gold-sponsors .niraj-bhatia-logo {
    max-height: 80px;
    max-width: 170px;
}

.silver-sponsors .sponsor-logo {
    max-height: 50px;
}

#hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2.2em;
    color: #ff69b4;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 1001;
}
