body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin: 0;
    padding: 0 15px;
}

/* ===== NAVBAR ===== */
nav#top {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    padding: 15px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 20px;
}

nav#top a {
    color: #00ffd5;
    margin: 0 12px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav#top a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #00ffd5;
}

/* ===== HEADER ===== */
header {
    text-align: center;
    padding: 40px 20px;
}

header .profile {
    width: 130px;
    height: 130px;
    border-radius: 12%;
    border: 4px solid #00ffd5;
    margin-bottom: 15px;
}

header h1 {
    font-size: 1.6rem;
    font-weight: 700;
}

header h3 {
    font-weight: 400;
    opacity: 0.9;
}

header .btn {
    background: linear-gradient(135deg, #00ffd5, #00bfa6);
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    color: #000;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

header .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 255, 213, 0.5);
}

header .btn i {
    transition: transform 0.3s ease;
}

header .btn:hover i {
    transform: rotate(20deg) scale(1.2);
}

/* ===== PROJECT / WELCOME ===== */
.project {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    text-align: center;
}

.project h3 {
    color: #00ffd5;
}

/* ===== ABOUT SECTION ===== */
section#about {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin: 20px auto;
    max-width: 900px;
}

section#about h2 {
    color: #00ffd5;
}

/* ===== NEWS & CONTACT ===== */
.em {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 20px;
}

.em .skill {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

th {
    background: rgba(0, 255, 213, 0.25);
    padding: 14px;
    text-align: left;
}

td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

tr:hover td {
    background: rgba(0, 255, 213, 0.15);
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.badge.president { background: #ff4d4d; }
.badge.vice-president { background: #ffa500; }
.badge.secretary { background: #1e90ff; }
.badge.treasurer { background: #32cd32; }
.badge.welfare { background: #ff69b4; }
.badge.auditor { background: #8a2be2; }
.badge.director { background: #00ced1; }
.badge.pro { background: #ff8c00; }
.badge.senator { background: #00bfff; }

.badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
}

/* ===== CARDS (PAST LEADERS / PATRONS) ===== */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.content {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    transition: 0.3s ease;
}

.content:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,255,213,0.4);
}

.content img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid #00ffd5;
}

.content h2 {
    font-size: 15px;
    margin: 15px 10px 5px;
    color: #00ffd5;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    font-size: 14px;
    margin-top: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    header h1 { font-size: 1.3rem; }
    header h3 { font-size: 0.95rem; }
    td, th { font-size: 13px; }
    .content img { height: 220px; }
}