/* MSU-Maguindanao Yearbook Application */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--theme-bg-start), var(--theme-bg-mid), var(--theme-bg-end));
    color: var(--theme-text);
    min-height: 100vh;
    line-height: 1.6;
}

/* ============================================================ */
/* HEADER SECTION */
/* ============================================================ */

.main-header {
    background: linear-gradient(90deg, var(--theme-header-start), var(--theme-header-end));
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 95px;
    border-bottom: 3px solid var(--theme-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    position: sticky;
    top: 0;
    z-index: 100;
        padding: 1rem 1rem 0.75rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    gap: 1rem;
}

.logo {
    flex: 1 1 auto;
    min-width: 0;
}

.logo h1 {
    color: var(--theme-primary);
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.nav-links li {
    display: flex;
}

.nav-links a,
.nav-links button {
    color: var(--theme-header-text);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 0.95rem;
    transition: color 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background 0.35s ease, filter 0.35s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 10px 18px;
    border-radius: 999px;
    transform: translateY(0) scale(1);
    white-space: nowrap;
    backdrop-filter: saturate(180%) blur(6px);
}

.nav-links a::before,
.nav-links button::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: linear-gradient(120deg, rgba(var(--theme-primary-rgb), 0.22), rgba(255, 255, 255, 0.08), rgba(var(--theme-primary-rgb), 0.1));
    transform: translateX(-110%) rotate(-12deg);
    transition: transform 0.55s ease, opacity 0.35s ease;
    opacity: 0;
    z-index: 0;
}

.nav-links a::after,
.nav-links button::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--theme-primary);
    transition: width 0.35s ease, left 0.35s ease;
    z-index: 2;
}

.nav-links a:hover::before,
.nav-links button:hover::before {
    opacity: 1;
    transform: translateX(0) rotate(-12deg);
}

.nav-links a:hover::after,
.nav-links button:hover::after {
    width: calc(100% - 24px);
    left: 12px;
}

.nav-links a:hover,
.nav-links button:hover {
    color: var(--theme-text);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    background: rgba(255, 255, 255, 0.14);
    filter: saturate(1.1);
}

.btn-login,
.btn-logout {
    border: 2px solid var(--theme-primary);
    padding: 8px 18px;
    border-radius: 25px;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-login::before,
.btn-logout::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(var(--theme-primary-rgb), 0.25), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.btn-login:hover::before,
.btn-logout:hover::before {
    opacity: 1;
}

.btn-login:hover,
.btn-logout:hover {
    background-color: rgba(123, 164, 64, 0.18);
    box-shadow: 0 0 24px rgba(123, 164, 64, 0.32);
    transform: translateY(-2px) scale(1.02);
}

.btn-survey {
    background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.98), rgba(var(--theme-primary-rgb), 0.85) 60%);
    color: var(--theme-button-color);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, filter 0.35s ease;
    box-shadow: 0 8px 30px rgba(var(--theme-primary-rgb), 0.22);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-survey::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 35%);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: scale(0.85);
}

.btn-survey:hover::before {
    opacity: 1;
    transform: scale(1);
}

.btn-survey:hover {
    transform: translateY(-3px) scale(1.06);
    background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.95), rgba(255,255,255,0.12) 25%, rgba(var(--theme-primary-rgb), 0.85));
    box-shadow: 0 18px 46px rgba(var(--theme-primary-rgb), 0.36);
    filter: saturate(1.2);
}

.btn-survey:active {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 12px 28px rgba(var(--theme-primary-rgb), 0.28);
}

/* ============================================================ */
/* FOOTER SECTION */
/* ============================================================ */

.main-footer {
    background: linear-gradient(90deg, var(--theme-footer-start), var(--theme-footer-end));
    padding: 4rem 3rem 2rem;
    border-top: 3px solid var(--theme-border);
    margin-top: 6rem;
    text-align: center;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-section h3 {
    color: var(--theme-footer-text);
    margin-bottom: 1.5rem;
    font-size: 18px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--theme-footer-text);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--theme-primary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    font-size: 14px;
    color: var(--theme-footer-text);
}

/* ============================================================ */
/* HERO SECTION */
/* ============================================================ */

.introduction {
    padding: 5rem 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.hero-container {
    display: flex;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.image-container {
    flex: 1;
}

.image-container img {
    width: 100%;
    max-width: 500px;
    border: 3px solid var(--theme-primary);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.02);
}

.text-container {
    flex: 1;
}

.hero-title {
    font-size: 52px;
    color: var(--theme-hero-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--theme-about-text);
}

.news-container {
    padding: 4rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.news-header {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.news-header h1 {
    font-size: 2.75rem;
    color: var(--theme-heading-color);
    margin-bottom: 0.8rem;
}

.news-header .subtitle {
    color: var(--theme-muted);
    margin: 0;
    font-size: 1.1rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: var(--theme-panel);
    border: 1px solid var(--theme-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.news-image-wrapper {
    position: relative;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.news-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.news-title {
    color: var(--theme-heading-color);
    font-size: 1.5rem;
    margin: 0;
}

.news-excerpt {
    color: var(--theme-muted);
    line-height: 1.8;
    margin: 0;
}

.news-date {
    color: var(--theme-muted);
    font-size: 0.95rem;
}

.admin-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.empty-state {
    text-align: center;
    padding: 3rem 0;
    color: var(--theme-muted);
}

/* ============================================================ */
/* REPORTS SECTION */
/* ============================================================ */

.reports-section {
    padding: 6rem 3rem;
    background: Transparent;
    margin: .5rem 0 5rem 0;
    position: relative;
    overflow: hidden;
}

.reports-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="25" cy="25" r="1" fill="rgba(123,164,64,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(123,164,64,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(123,164,64,0.15)"/><circle cx="10" cy="50" r="0.5" fill="rgba(123,164,64,0.15)"/><circle cx="90" cy="30" r="0.5" fill="rgba(123,164,64,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.honors-hero {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.honors-content {
    flex: 1;
    text-align: center;
}

.honors-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.honors-title {
    font-size: 3rem;
    color: var(--theme-text);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.honors-description {
    font-size: 1.2rem;
    color: var(--theme-text);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.honors-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-light));
    color: var(--theme-text-on-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(var(--theme-primary-rgb), 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.honors-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.honors-button:hover::before {
    left: 100%;
}

.honors-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(123, 164, 64, 0.6);
    color: #0D2440;
}

.button-arrow {
    transition: transform 0.3s ease;
}

.honors-button:hover .button-arrow {
    transform: translateX(5px);
}

.honors-decoration {
    flex: 1;
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123, 164, 64, 0.2), rgba(139, 191, 82, 0.1));
    animation: pulse 4s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 80px;
    right: 40px;
    animation-delay: 1s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 40px;
    left: 60px;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* ============================================================ */
/* SECTION HEADERS */
/* ============================================================ */

.header1 {
    max-width: 1400px;
    margin: 4rem auto 2rem;
    padding: 0 3rem;
}

.latest-updates {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-light));
    color: var(--theme-text-on-primary);
    border-radius: 25px;
    font-weight: bold;
    margin-bottom: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(var(--theme-primary-rgb), 0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.latest-updates:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--theme-primary-rgb), 0.4);
}

.header1 h1 {
    color: var(--theme-primary);
    font-size: 42px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.header1 > p.description {
    color: var(--theme-muted);
    font-size: 18px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.section-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(var(--theme-primary-rgb), 0.3);
}

.section-title-row i {
    font-size: 28px;
    color: var(--theme-primary);
}

.section-title-row h2 {
    color: var(--theme-primary);
    font-size: 28px;
    margin: 0;
    font-weight: 700;
}

/* ============================================================ */
/* CARDS SECTION */
/* ============================================================ */

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 3rem;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: var(--theme-card-bg);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-primary-light));
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(var(--theme-primary-rgb), 0.2);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card .section-title {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--theme-panel);
}

.card .section-title i {
    font-size: 22px;
    color: var(--theme-primary);
}

.card .section-title h2 {
    color: var(--theme-primary);
    font-size: 20px;
    margin: 0;
    font-weight: 700;
}

.category-label {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-light));
    color: var(--theme-text-on-primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin: 0 1rem;
    box-shadow: 0 4px 10px rgba(var(--theme-primary-rgb), 0.2);
}

.card > div:not(.section-title) {
    padding: 1.5rem;
}

.card p {
    color: var(--theme-text);
    font-size: 15px;
    margin: 0.8rem 0;
    line-height: 1.6;
}

.centerc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--theme-panel);
    border-top: 1px solid var(--theme-border);
}

.date {
    color: var(--theme-primary);
    font-size: 13px;
    font-weight: 600;
}

.date i {
    margin-right: 5px;
}

.read-more {
    color: var(--theme-primary);
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.read-more::after {
    content: ' →';
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--theme-primary-light);
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* ============================================================ */
/* FORMS */
/* ============================================================ */

.form-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 3rem;
    background: var(--theme-card-bg);
    border: 2px solid var(--theme-primary);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.form-panel,
.panel {
    background: transparent;
}

.form-panel h1,
.form-section h2,
.panel h1,
.paneltitle {
    color: var(--theme-primary);
    margin-bottom: 2rem;
    font-size: 28px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--theme-primary);
    font-weight: 600;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select,
.input,
.select {
    width: 50%;
    padding: 12px 15px;
    border: 2px solid var(--theme-primary);
    border-radius: 10px;
    background: var(--theme-surface);
    color: var(--theme-text);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.select option {
    color: var(--theme-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.input:focus,
.select:focus {
    outline: none;
    border-color: var(--theme-primary-light);
    background: var(--theme-panel);
    box-shadow: 0 0 15px rgba(var(--theme-primary-rgb), 0.3);
}

.input-section {
    position: relative;
    margin-top: 15px;
    width: 50%;
}

.input-section textarea {
    height: 120px;
    resize: vertical;
}

.label {
    position: absolute;
    left: 0;
    top: -20px;
    color: var(--theme-primary);
    font-size: 13px;
    font-weight: bold;
}

/* ============================================================ */
/* BUTTONS */
/* ============================================================ */

.btn {
    padding: 12px 28px;
    background: var(--theme-button-bg);
    color: var(--theme-button-color);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--theme-primary-rgb), 0.2);
}

.nav-links button.btn {
    padding: 6px 12px;
    font-size: 12px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--theme-primary-rgb), 0.35);
}

.btn-primary {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-light));
    color: var(--theme-text-on-primary);
}

.btn-secondary {
    background: var(--theme-panel);
    color: var(--theme-text);
    border: 2px solid var(--theme-primary);
}

.btn-secondary:hover {
    background: var(--theme-surface);
}

.btn-warning {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
    color: var(--theme-text-on-primary);
}

.btn-danger {
    background: linear-gradient(135deg, #ff6347, #ff4500);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.AddBtn,
.delete,
.rptBtn {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-light));
    color: var(--theme-text-on-primary);
    padding: 10px 18px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(241, 205, 0, 0.2);
}

.AddBtn:hover,
.delete:hover,
.rptBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(123, 164, 64, 0.4);
}

/* ============================================================ */
/* TABLES */
/* ============================================================ */

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--theme-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.table thead {
    background: var(--theme-panel);
}

.table th {
    padding: 15px;
    border-bottom: 3px solid var(--theme-primary);
    color: var(--theme-primary);
    text-align: left;
    font-weight: 700;
    font-size: 15px;
}

.table td {
    padding: 15px;
    border-bottom: 1px solid var(--theme-border);
    color: var(--theme-text);
    font-size: 14px;
}

.table tbody tr:hover {
    background-color: var(--theme-surface);
    transition: all 0.2s ease;
}

/* ============================================================ */
/* PAGINATION */
/* ============================================================ */

.pagination {
    margin: 2rem 0;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination button,
.pagination span {
    padding: 1px 2px !important;
    font-size: 8px !important;
    border: 1px solid var(--theme-primary) !important;
    border-radius: 2px !important;
    color: var(--theme-primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--theme-panel) !important;
    box-shadow: none !important;
    font-weight: normal !important;
    margin: 0 !important;
    height: auto !important;
    min-height: auto !important;
    line-height: 1 !important;
}

/* Target Tailwind pagination – Laravel uses nav element with inline-flex children */
nav a.inline-flex,
nav button.inline-flex,
nav span.inline-flex {
    padding: 1px 2px !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
}

nav [class*="px-4"] {
    padding-left: 2px !important;
    padding-right: 2px !important;
}

nav [class*="py-2"] {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

/* Hide Previous/Next large arrow buttons only - keep numbered pagination visible */
nav a[rel="next"],
nav span[aria-disabled="true"] {
    display: none !important;
}

.pagination a:hover,
.pagination button:hover {
    background: rgba(123, 164, 64, 0.2) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.pagination span.relative {
    background: rgba(123, 164, 64, 0.3) !important;
    color: #fff !important;
}

/* ============================================================ */
/* ADMIN DASHBOARD */
/* ============================================================ */

.body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0D2440, #1a3a52, #0a1525);
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #fff;
    min-height: 95vh;
    padding: 2rem 0 50px 0;
}

.functionheader {
    position: relative;
    border: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 60px;
    background: var(--theme-panel);
    align-self: flex-end;
    border: 2px solid var(--theme-primary);
    padding: 0 1.5rem;
    border-bottom-left-radius: 15px;
    width: 100%;
    max-width: 1400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.newsBtn,
.alumniBtn,
.yearbookBtn,
.speakerBtn,
.logoutBtn {
    border: 2px solid var(--theme-primary);
    height: 45px;
    width: 45px;
    border-radius: 50%;
    margin-left: 2px;
    margin-right: 12px;
    cursor: pointer;
    background: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.newsBtn:hover,
.alumniBtn:hover,
.yearbookBtn:hover,
.speakerBtn:hover,
.logoutBtn:hover {
    border: 3px solid var(--theme-primary);
    height: 50px;
    width: 50px;
    box-shadow: 0 0 15px rgba(var(--theme-primary-rgb), 0.4);
    color: var(--theme-primary);
}

.Message {
    background: var(--theme-panel);
    border: 2px solid var(--theme-primary);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    color: var(--theme-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.section-list-container {
    width: 100%;
    max-width: 1400px;
    margin: 3rem 0;
    padding: 0 3rem;
}

.div-header {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--theme-panel);
    border: 2px solid var(--theme-primary);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.div-header p {
    color: var(--theme-primary);
    font-weight: bold;
    margin: 0;
    font-size: 16px;
}

.div-list1,
.div-list2 {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--theme-surface);
    border-left: 4px solid var(--theme-primary);
    border-radius: 8px;
    margin-bottom: 1rem;
    align-items: center;
    transition: all 0.3s ease;
}

.div-list1 {
    background-color: var(--theme-panel);
}

.div-list2 {
    background-color: rgba(46, 94, 153, 0.6);
}

.div-list1:hover,
.div-list2:hover {
    background-color: var(--theme-surface);
    box-shadow: 0 4px 15px rgba(var(--theme-primary-rgb), 0.1);
}

.num-detail {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.list-detail {
    color: var(--theme-text);
    font-size: 14px;
}

.list-detail p {
    margin: 0;
    word-break: break-word;
}

.list-detail img {
    max-width: 100%;
    border: 2px solid var(--theme-primary);
    border-radius: 8px;
}

.norecord {
    text-align: center;
    padding: 3rem;
    color: var(--theme-primary);
    font-size: 18px;
    font-weight: 600;
}

#noImg {
    grid-template-columns: 2fr 2fr 2fr 1fr;
}

/* ============================================================ */
/* GALLERIES */
/* ============================================================ */

.alumni-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1400px;
}

.alumni-card {
    background: var(--theme-card-bg);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.alumni-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-primary-light));
}

.alumni-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(var(--theme-primary-rgb), 0.15);
}

.alumni-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.alumni-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.alumni-card:hover .alumni-image img {
    transform: scale(1.05);
}

.alumni-info {
    padding: 1.5rem;
}

.alumni-info h3 {
    color: var(--theme-primary);
    margin-bottom: 0.8rem;
    font-size: 18px;
    font-weight: 700;
}

.award-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-light));
    color: var(--theme-text-on-primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(var(--theme-primary-rgb), 0.2);
}

.bio {
    font-size: 14px;
    margin-top: 0.8rem;
    color: var(--theme-muted);
    line-height: 1.5;
}

/* ============================================================ */
/* ALERTS */
/* ============================================================ */

.alert {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.15), rgba(255, 99, 71, 0.05));
    border-left-color: #ff6347;
    color: #ffb6c1;
}

.alert-success {
    background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.15), rgba(var(--theme-primary-rgb), 0.05));
    border-left-color: var(--theme-primary);
    color: var(--theme-primary);
}

.alert ul {
    list-style-position: inside;
    margin-top: 0.5rem;
}

/* ============================================================ */
/* STATISTICS */
/* ============================================================ */

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1400px;
}

.stat-card,
.stat-box {
    background: var(--theme-card-bg);
    border: none;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before,
.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-primary-light));
}

.stat-card:hover,
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(var(--theme-primary-rgb), 0.15);
}

.stat-card h3,
.stat-box h3 {
    font-size: 42px;
    color: var(--theme-primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.stat-card p,
.stat-box p {
    font-size: 16px;
    color: var(--theme-muted);
}

/* ============================================================ */
/* HONORS SECTION */
/* ============================================================ */

.honors-section {
    margin: 3rem 0;
    max-width: 1400px;
}

.honors-section h2 {
    color: var(--theme-primary);
    font-size: 28px;
    margin-bottom: 2rem;
    text-align: center;
}

.honors-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.honor-item {
    background: var(--theme-card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.honor-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(123, 164, 64, 0.15);
}

.honor-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.honor-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.honor-year,
.honor-degree {
    font-size: 14px;
    color: var(--theme-muted);
}



/* ============================================================ */
/* ALUMNI REPORTS PAGE */
/* ============================================================ */

.reports-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0D2440 0%, #1a3a5a 50%, #2a4a6a 100%);
}

/* Hero Section */
.reports-hero {
    padding: 6rem 3rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13, 36, 64, 0.9), rgba(26, 50, 82, 0.8));
}

.reports-hero::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="hero-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(123,164,64,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(123,164,64,0.1)"/><circle cx="50" cy="30" r="0.5" fill="rgba(123,164,64,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.reports-hero .hero-title {
        font-size: 3.5rem;
        color: var(--theme-primary);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        line-height: 1.6;
        margin-bottom: 0;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123, 164, 64, 0.1), rgba(139, 191, 82, 0.05));
    animation: float-shapes 6s ease-in-out infinite;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float-shapes {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--theme-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.section-description {
    font-size: 1.1rem;
    color: var(--theme-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Statistics Section */
.stats-section {
    padding: 5rem 3rem;
    background: var(--theme-panel);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--theme-card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--theme-primary-rgb), 0.2);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(123, 164, 64), rgb(143, 191, 82));
}

.total-card::before {
    background: linear-gradient(90deg, rgb(52, 152, 219), rgb(41, 128, 185));
}

.honors-card.summa::before {
    background: linear-gradient(90deg, rgb(243, 156, 18), rgb(230, 126, 34));
}

.honors-card.magna::before {
    background: linear-gradient(90deg, rgb(155, 89, 182), rgb(142, 68, 173));
}

.honors-card.cum::before {
    background: linear-gradient(90deg, rgb(26, 188, 156), rgb(22, 160, 133));
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-content {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--theme-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-light));
    color: var(--theme-text-on-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    opacity: 0.1;
    background: radial-gradient(circle, var(--theme-primary) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

/* Honors Showcase */
.honors-showcase {
    padding: 5rem 3rem;
    background: var(--theme-panel);
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.honor-card {
    background: var(--theme-card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.3);
}

.honor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(var(--theme-primary-rgb), 0.2);
}

.honor-card[data-honor="summa cum laude"] {
    border-color: rgba(243, 156, 18, 0.5);
}

.honor-card[data-honor="magna cum laude"] {
    border-color: rgba(155, 89, 182, 0.5);
}

.honor-card[data-honor="cum laude"] {
    border-color: rgba(26, 188, 156, 0.5);
}

.honor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
}

.honor-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-light));
    color: var(--theme-text-on-primary);
}


.honor-badge.summa-cum-laude {
    background: linear-gradient(135deg, rgb(243, 156, 18), rgb(230, 126, 34));
}

.honor-badge.magna-cum-laude {
    background: linear-gradient(135deg, rgb(155, 89, 182), rgb(142, 68, 173));
}

.honor-badge.cum-laude {
    background: linear-gradient(135deg, rgb(26, 188, 156), rgb(22, 160, 133));
}

.honor-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgb(123, 164, 64);
    background: rgba(123, 164, 64, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
}

.honor-content {
    padding: 0 1.5rem 1.5rem;
}

.honor-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.honor-degree,
.honor-department {
    font-size: 0.95rem;
    color: var(--theme-muted);
    margin-bottom: 0.25rem;
}

.honor-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(123, 164, 64, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30px, 30px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--theme-panel);
    border-radius: 15px;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.empty-state h3 {
    color: rgb(123, 164, 64);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-state p {
    color: var(--theme-muted);
    line-height: 1.6;
}

/* Years Section */
.years-section {
    padding: 5rem 3rem;
    background: var(--theme-panel);
}

.years-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.year-card {
    background: var(--theme-card-bg);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.year-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgb(123, 164, 64), rgb(143, 191, 82));
}

.year-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(123, 164, 64, 0.15);
}

.year-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(123, 164, 64);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.year-stats {
    font-size: 1rem;
    color: var(--theme-muted);
    margin-bottom: 1rem;
}

.year-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(123, 164, 64);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.year-link:hover {
    color: #8fbf52;
}

.link-arrow {
    transition: transform 0.3s ease;
}

.year-link:hover .link-arrow {
    transform: translateX(3px);
}

/* Mobile Responsiveness */

.admin-section{ 
    padding: 4rem 2rem;
}
/* ============================================================ */
/* RESPONSIVE DESIGN */
/* ============================================================ */

@media (min-width: 721px) {
    .main-header { 
        border: .5px solid var(--theme-primary);
    }
    .navbar {
        padding: 0 1.5rem;
        gap: 0.65rem;
    }

    .nav-links {
        gap: 0.65rem;
    }

    .nav-links a,
    .nav-links button {
        flex: 1 1 auto;
        width: 50%;
        max-width: 200px;
        text-align: center;
        padding: 12px 16px; 
        min-width: 100px;
    }

    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        padding: 0 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .div-header,
    .div-list1,
    .div-list2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile responsiveness */
@media (min-width: 481px) and (max-width: 720px) {

    .logo h1 {
        font-size: 1.45rem;
        text-align: center;
        width: 100%;
    }
    .reports-section {
        padding: 4rem 2rem;
    }

    .honors-hero {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .honors-title {
        font-size: 2.5rem;
    }

    .honors-description {
        font-size: 1rem;
    }

    .honors-decoration {
        height: 200px;
    }

    .decoration-circle {
        width: 120px !important;
        height: 120px !important;
    }

    .circle-1 {
        width: 120px;
        height: 120px;
    }

    .circle-2 {
        width: 90px;
        height: 90px;
    }

    .circle-3 {
        width: 60px;
        height: 60px;
    }
    .main-header { 
        border: .5px solid var(--theme-primary);
    }

    .navbar {
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        gap: 0.75rem;
    }

    .logo {
        width: 100%;
        text-align: left;
        order: 1;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
        order: 2;
    }

    .nav-links a,
    .nav-links button {
        flex: 1 1 auto;
        width: 50%;
        max-width: 200px;
        text-align: center;
        padding: 12px 16px; 
        min-width: 180px;
    }

    .hero-container {
        flex-direction: column;
        padding: 2rem;
    }

    .hero-title {
        font-size: 36px;
    }

    .introduction {
        padding: 3rem 1rem;
    }

    .header1 {
        padding: 0 1rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .div-header,
    .div-list1,
    .div-list2 {
        grid-template-columns: 1fr;
    }

    .table {
        font-size: 12px;
    }

    .table th,
    .table td {
        padding: 10px;
    }

    .form-container {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem;
    }

    .functionheader {
        padding: 1rem;
        height: auto;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .newsBtn,
    .alumniBtn,
    .yearbookBtn,
    .speakerBtn,
    .logoutBtn {
        margin: 5px;
    }
    .reports-hero {
        padding: 4rem 2rem 3rem;
    }

    .reports-hero .hero-title {
        font-size: 2.5rem;
    }

    .reports-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .stats-section,
    .honors-showcase,
    .years-section {
        padding: 3rem 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .honors-grid {
        grid-template-columns: 1fr;
    }

    .years-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .honor-card {
        margin: 0 auto;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .main-header { 
        border: .5px solid rgb(248, 113, 113);
    }

    .navbar {
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        gap: 0.75rem;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 0.7rem;
    }

    .nav-links a,
    .nav-links button {
        width: 90%;
        flex: 1 1 90%;
        text-align: center;
        padding: 12px 14px;
        min-width: 480px;
        border-radius: 0;
        border:none;
        background: rgba(97, 96, 96, 0.418);
    }

    .logo h1 {
        font-size: 1.45rem;
        text-align: center;
        width: 100%;
        min-width: 480px;
    }

    .hero-container {
        flex-direction: column;
        padding: 2rem;
    }
}
