body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    color: #333;
}

.main-container {
    max-width: 950px;
    margin: 20px auto;
    padding: 20px;
}

/* Notice Bar */
.notice-bar {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid #ffeeba;
}

/* Hero Section */
.hero-section {
    text-align: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo-circle {
    width: 55px;
    height: 55px;
    background: white;
    color: #1e3c72;
    font-size: 26px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 12px auto;
}

.hero-section h1 {
    margin: 0;
    font-size: 30px;
}

.hero-section p {
    margin: 6px 0 20px 0;
    font-size: 15px;
    opacity: 0.9;
}

/* Enhanced Join Section */
.join-container {
    margin: 20px 0 15px 0;
}

.join-btn-large {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    transition: all 0.2s ease;
}

.join-btn-large:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.6);
}

.join-tagline {
    margin-top: 8px;
    font-size: 13px;
    color: #e2e8f0;
}

.university-link {
    margin-top: 15px;
    font-size: 13px;
    opacity: 0.9;
}

.university-link a {
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
}

.university-link a:hover {
    text-decoration: underline;
}

/* Events Section */
.events-section {
    margin-top: 30px;
}

.events-section h2 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 12px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.event-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid #ffc107;
}

.highlight-event {
    border-left: 4px solid #28a745;
    background: #f4fff4;
}

.upcoming-highlight {
    border-left: 4px solid #007bff;
    background: #f0f7ff;
}

.past-card {
    border-left: 4px solid #6c757d;
    opacity: 0.85;
}

.event-card h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
    color: #333;
}

.event-card p {
    margin: 3px 0;
    font-size: 13px;
    color: #555;
}

/* Clubs Section */
.clubs-section {
    margin-top: 35px;
}

.clubs-section h2 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 12px;
}

.club-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
}

.club-card {
    background: white;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.highlight-card {
    border-left: 5px solid #007bff;
    cursor: pointer;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,123,255,0.2);
    background-color: #f8fbff;
}

.alert-card {
    border-left: 5px solid #ffc107;
    cursor: pointer;
}

.alert-card:hover {
    transform: translateY(-3px);
    background-color: #fffdf5;
}

.club-icon {
    font-size: 26px;
    margin-bottom: 8px;
}

.club-card h3 {
    margin: 0 0 6px 0;
    font-size: 17px;
    color: #333;
}

.club-card p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.badge {
    display: inline-block;
    margin-top: 10px;
    background: #e7f1ff;
    color: #007bff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.gray-badge {
    background: #e2e3e5;
    color: #383d41;
}

/* Modal Popup */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.hidden {
    display: none;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 25px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 22px;
    cursor: pointer;
    color: #888;
}

.close-btn:hover {
    color: #000;
}

.club-header-modal h2 {
    margin: 0 0 4px 0;
    font-size: 20px;
    color: #1e3c72;
}

.club-header-modal p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 13px;
}

.leadership-section {
    margin-bottom: 15px;
}

.leadership-section h3, .social-links h3 {
    font-size: 15px;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.leader-card {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 13px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn {
    display: block;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.linkedin {
    background-color: #0a66c2;
}

.instagram {
    background-color: #e4405f;
}

.btn:hover {
    opacity: 0.9;
}