* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid #ddd;
    margin-bottom: 30px;
}

.college-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.auth-buttons {
    margin: 20px 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: #007bff;
    color: white;
}

.btn-register {
    background-color: #28a745;
    color: white;
}

.btn-logout {
    background-color: #dc3545;
    color: white;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.welcome-message {
    font-size: 18px;
    font-weight: bold;
}

/* Main Content */
.main-content {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

/* Sidebar */
.sidebar {
    flex: 0 0 250px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-btn {
    display: block;
    padding: 15px 20px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    font-weight: bold;
}

.nav-btn:hover {
    background-color: #007bff;
    color: white;
    transform: translateX(5px);
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.welcome-content h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.registration-prompt {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

/* Events and Lists */
.event-list, .department-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.event-card, .department-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.event-date {
    color: #007bff;
    font-weight: bold;
}

/* PDF Viewer */
.pdf-container {
    width: 100%;
    height: 600px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        flex: none;
    }
    
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .nav-btn {
        white-space: nowrap;
    }
}

/* Events, Mentorships, and Jobs Styles */
.events-container,
.mentorships-list,
.jobs-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.event-card,
.mentor-card,
.job-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin: 10px 0;
    color: #666;
}

.event-date,
.event-location {
    font-weight: bold;
}

/* Forms */
.mentorship-form,
.job-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.add-mentorship-section h2,
.add-job-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

/* PDF Container */
.pdf-container {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.download-section {
    text-align: center;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .mentor-card,
    .job-card {
        padding: 15px;
    }
}

/* Dashboard Highlights */
.dashboard-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.highlight-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 4px solid #007bff;
}

.highlight-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.highlight-list {
    list-style: none;
    margin-bottom: 15px;
}

.highlight-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.highlight-list li:last-child {
    border-bottom: none;
}

.highlight-date,
.highlight-mentor,
.highlight-company {
    font-size: 0.9em;
    color: #666;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

.btn-small:hover {
    background-color: #5a6268;
}

/* Alumni Actions for Logged-in Users */
.alumni-actions {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
}

.alumni-actions h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-highlights {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 200px;
    }
    
    .highlight-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
/* Statistics Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 4px solid #007bff;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-weight: bold;
}

/* Section Cards */
.section-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.section-card h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.item-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.item-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.item-card .company,
.item-card .location,
.item-card .mentor,
.item-card .referrer {
    margin: 5px 0;
    color: #555;
}

.item-card .description {
    margin: 10px 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

.view-all {
    text-align: center;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-bar {
        grid-template-columns: 1fr;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}
/* Dashboard Styles */
.dashboard-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Form Sections */
.form-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.dashboard-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Tabs */
.content-tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.tab-button {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.tab-button:hover {
    color: #0056b3;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Content Items */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.content-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.content-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.content-item .meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.content-item .description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.content-item .contact {
    color: #007bff;
    font-weight: bold;
}

.status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.status.active {
    background: #d4edda;
    color: #155724;
}

.status.inactive {
    background: #f8d7da;
    color: #721c24;
}

.no-content {
    text-align: center;
    padding: 40px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Jobs Page Styles */
.action-prompt {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.jobs-stats {
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.job-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.job-header h3 {
    color: #2c3e50;
    margin: 0;
}

.post-date {
    color: #666;
    font-size: 0.9em;
}

.job-details p {
    margin: 5px 0;
}

.job-description {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.job-actions {
    margin-top: 15px;
}

/* Sidebar active state */
.sidebar-nav .active {
    background: #007bff;
    color: white;
}

.sidebar-nav .logout {
    background: #dc3545;
    color: white;
}

.sidebar-nav .logout:hover {
    background: #c82333;
}

/* College Motto Styles */
.college-motto {
    flex: 1;
    text-align: center;
    padding: 0 30px;
}

.college-motto h2 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 8px;
    font-weight: bold;
}

.college-motto p {
    color: #007bff;
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 15px;
    font-weight: 500;
}

.motto-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.motto-stats span {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    color: #495057;
    border: 1px solid #e9ecef;
    font-weight: 500;
}

/* Enhanced Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.logo-container {
    flex: 0 0 auto;
}

.college-logo {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.college-logo:hover {
    transform: scale(1.05);
}

.college-motto {
    flex: 1;
    text-align: center;
    padding: 0 40px;
    border-left: 2px solid #e9ecef;
    border-right: 2px solid #e9ecef;
}

.college-motto h2 {
    color: #2c3e50;
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.college-motto p {
    color: #007bff;
    font-size: 1.3em;
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.motto-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.motto-stats span {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
    transition: transform 0.3s ease;
}

.motto-stats span:hover {
    transform: translateY(-2px);
}

.auth-buttons {
    flex: 0 0 auto;
}

/* Faculty Name Styling */
.stat-item:hover .faculty-name {
    color: #2563eb !important;
    transition: color 0.3s ease;
}

.faculty-name {
    transition: color 0.3s ease;
}

/* Event Card Styling */
.event-date,
.event-location,
.event-mode {
    color: #475569;
    margin: 5px 0;
    font-size: 0.9rem;
}

.event-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 10px 0;
}

/* ===== SIDEBAR TOGGLE STYLES ===== */
/* Sidebar Toggle Styles */
.sidebar-toggle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.sidebar-toggle:hover {
    width: 48px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}
.sidebar-toggle.open {
    left: 260px;
    border-radius: 0 8px 8px 0;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 12px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
    overflow-y: auto;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}
.sidebar.open {
    transform: translateX(0);
    z-index: 9999;
    display: flex;
}
@media (min-width: 993px) {
    .sidebar {
        display: none;
    }
    .sidebar.open {
        display: flex;
    }
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0 8px;
}
.sidebar .nav-btn {
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 8px;
    display: block;
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 3px solid transparent;
    position: relative;
}
.sidebar .nav-btn:hover {
    background: #f1f5f9;
    border-left-color: #2563eb;
    transform: translateX(4px);
}

/* Overlay for mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
    pointer-events: none;
}
.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Main Content Layout */
.main-content { 
    margin-top: 24px; 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px; 
    position: relative; 
}

.content-area {
    padding: 0;
    width: 100%;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    margin-top: 50px;
    padding: 40px 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #e8f4f8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4a90e2;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4a90e2;
    transform: translateY(-2px);
}

.contact-info p {
    margin: 8px 0;
    color: #e8f4f8;
    font-size: 0.9rem;
}

.college-stats p {
    margin: 8px 0;
    color: #e8f4f8;
    font-size: 0.9rem;
}

.newsletter-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
}

.newsletter-section h3 {
    margin-bottom: 10px;
    color: #fff;
}

.newsletter-section p {
    color: #e8f4f8;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #357abd;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #e8f4f8;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #e8f4f8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a90e2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}