:root {
    --primary-blue: #0066cc;
    --primary-yellow: #ffd700;
    --dark-blue: #003d82;
    --light-blue: #4d9fff;
    --gold: #ffa500;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --border-color: rgba(255, 255, 255, 0.18);
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --tech-gradient: linear-gradient(135deg, #0066cc 0%, #003d82 100%);
    --bg-gradient: linear-gradient(135deg, #001a4d 0%, #003d82 50%, #0052a8 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: linear-gradient(135deg, #001a4d 0%, #002966 25%, #003d82 50%, #004d99 75%, #0066cc 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
    z-index: -1;
}

body::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #0066cc, transparent);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

body::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ffd700, transparent);
    bottom: -100px;
    left: -100px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, -50px) rotate(90deg); }
    50% { transform: translate(-50px, 50px) rotate(180deg); }
    75% { transform: translate(50px, 50px) rotate(270deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgb(13, 0, 55);
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgb(12, 1, 48);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgb(162, 142, 9);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: goldenrod;
}

.admin-btn {
    background: rgb(0, 11, 108);
    backdrop-filter: blur(10px);
    color: rgb(255, 255, 255);
    border: 1px solid rgba(0, 1, 53, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.admin-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: rgb(1, 1, 99);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero {
  background-image: url('../images/slsu_test.jpg');
  background-size: cover;          /* Make it fill the section */
  background-position: center;     /* Center the image */
  background-repeat: no-repeat;    /* Prevent repeating */
  color: white;                    /* Make text readable if image is dark */
  position: relative;              /* For better control of inner layout */
  padding: 80px 20px;              /* Optional spacing */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 100;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    z-index: 1000;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.search-box i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-right: 1rem;
}

#searchInput {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 1rem;
    padding: 0.75rem 0;
}

#searchInput::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-results {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.search-result-name {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.search-result-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(255, 215, 0, 0.3));
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-card p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-yellow);
    border-radius: 2px;
    box-shadow: 0 2px 15px rgba(255, 215, 0, 0.5);
}

.about-section,
.alumni-section,
.contact-section {
    padding: 80px 20px;
    position: relative;
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text,
.contact-card,
.batch-card,
.info-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-text {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
}

.contact-card:hover,
.batch-card:hover,
.info-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.contact-card i,
.info-item i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(255, 215, 0, 0.3));
}

.contact-card h4,
.info-item h4 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card p,
.contact-card a,
.info-item p {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-card a:hover {
    color: var(--primary-yellow);
}

.batch-filter-container {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.batch-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.batch-search-box:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.batch-search-box i.fa-filter {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-right: 1rem;
}

#batchSearchInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    color: var(--white);
}

#batchSearchInput::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.clear-filter-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    color: var(--white);
}

.clear-filter-btn:hover {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    transform: scale(1.1);
}

.batch-card.hidden {
    display: none;
}

.no-results-message {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.batch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.batch-card {
    text-align: center;
    cursor: pointer;
}

.batch-card:hover h3,
.batch-card:hover p {
    color: var(--primary-yellow);
}

.batch-card h3 {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.batch-card p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.info-item i {
    font-size: 2rem;
    min-width: 40px;
}

.footer {
    background: rgba(0, 26, 77, 0.6);
    backdrop-filter: blur(20px);
    color: var(--white);
    padding: 3rem 20px 1rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 26, 77, 0.85);
    backdrop-filter: blur(15px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-large {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close:hover {
    color: var(--primary-yellow);
    background: rgba(255, 215, 0, 0.2);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-yellow);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow), var(--gold));
    color: var(--dark-blue);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #ffed4e, #ffa500);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-danger {
    background: #dc3545;
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #c82333;
}

/* Alumni Modal Search Container */
.alumni-modal-search-container {
    margin-bottom: 2rem;
}

.alumni-modal-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.alumni-modal-search-box:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.alumni-modal-search-box i.fa-search {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-right: 1rem;
}

#alumniModalSearch {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    color: var(--white);
    padding: 0.5rem 0;
}

#alumniModalSearch::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.alumni-list {
    display: grid;
    gap: 1rem;
}

.alumni-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alumni-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateX(5px);
}

.alumni-item-name {
    font-weight: 600;
    color: var(--white);
    font-size: 1.1rem;
}

.alumni-item-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.alumni-item i {
    color: var(--primary-yellow);
}

.alumni-details-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.alumni-details-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

.alumni-details-header h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.alumni-details-header p {
    opacity: 0.95;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
}

.details-grid {
    display: grid;
    gap: 2rem;
}

.detail-section {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.detail-section:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.detail-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.detail-section h3 i {
    color: var(--primary-yellow);
    filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.4));
}

.detail-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.detail-value {
    color: rgba(255, 255, 255, 0.85);
}

.job-item,
.business-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid var(--primary-yellow);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.job-item:hover,
.business-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.job-item:last-child,
.business-item:last-child {
    margin-bottom: 0;
}

.job-title,
.business-name {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.job-company,
.business-type {
    color: var(--primary-yellow);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.job-details,
.business-details {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.job-details span,
.business-details span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.license-badge {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.no-data {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--gold));
    color: var(--dark-blue);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.notification-modal .modal-content {
    max-width: 450px;
    padding: 2rem;
}

.notification-content {
    text-align: center;
}

.notification-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.notification-body i {
    font-size: 4rem;
    animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.notification-body p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.notification-content .btn-primary {
    width: 100%;
    margin: 0;
}

.board-stats-section {
    padding: 80px 20px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

.board-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.board-stat-card {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(0, 61, 130, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 24px;
    border: 2px solid rgba(0, 102, 204, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 102, 204, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.board-stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.board-stat-card:hover::before {
    opacity: 1;
}

.board-stat-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.25) 0%, rgba(0, 61, 130, 0.25) 100%);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
}

.board-stat-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.board-stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-yellow), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dark-blue);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.board-stat-card:hover .board-stat-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.6);
}

.board-stat-month-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.board-stat-pass-rate {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-yellow);
    line-height: 1;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
    margin: 0.5rem 0;
}

.board-stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.board-stat-no-exam {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-top: 1rem;
}

.board-stat-click-hint {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.board-stat-card:hover .board-stat-click-hint {
    color: var(--primary-yellow);
}

.board-stat-click-hint i {
    font-size: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.board-stat-details-header {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.2) 0%, rgba(0, 61, 130, 0.2) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 102, 204, 0.3);
    box-shadow: 0 8px 32px rgba(0, 102, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.board-stat-details-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

.board-stat-details-header h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 2rem;
}

.board-stat-details-header p {
    opacity: 0.95;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.board-stat-details-rate {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-yellow);
    margin: 1rem 0;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 1;
}

.board-stat-details-content {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.board-stat-details-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.board-stat-details-content h3 i {
    color: var(--primary-yellow);
    filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.4));
}

.board-stat-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.05rem;
}

.board-stat-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 215, 0, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-yellow);
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 215, 0, 0.25);
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.4));
}

.no-data-message {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-data-message i {
    display: block;
}

.no-data-message p {
    margin: 0.5rem 0;
}

.no-stats-message {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.no-stats-message i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    display: block;
}

.no-stats-message p {
    margin: 0;
    font-size: 1.05rem;
}

.board-stats-summary-container {
    max-width: 1400px;
    margin: 0 auto 4rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.summary-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.summary-stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.summary-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.summary-stat-card:hover::before {
    opacity: 1;
    animation: shimmerTop 2s infinite;
}

@keyframes shimmerTop {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.summary-stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.summary-stat-card.card-green {
    border-color: rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(32, 201, 151, 0.1));
}

.summary-stat-card.card-green:hover {
    border-color: rgba(40, 167, 69, 0.6);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.3);
}

.summary-stat-card.card-orange {
    border-color: rgba(255, 193, 7, 0.4);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.1));
}

.summary-stat-card.card-orange:hover {
    border-color: rgba(255, 193, 7, 0.6);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3);
}

.summary-stat-card.card-blue {
    border-color: rgba(0, 102, 204, 0.4);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15), rgba(77, 159, 255, 0.1));
}

.summary-stat-card.card-blue:hover {
    border-color: rgba(0, 102, 204, 0.6);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.3);
}

.summary-stat-card.card-yellow {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
}

.summary-stat-card.card-yellow:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.summary-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.summary-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-green .summary-stat-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.card-orange .summary-stat-icon {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
}

.card-blue .summary-stat-icon {
    background: linear-gradient(135deg, #0066cc, #4d9fff);
    color: white;
}

.card-yellow .summary-stat-icon {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #003d82;
}

.summary-stat-card:hover .summary-stat-icon {
    transform: rotate(10deg) scale(1.1);
}

.summary-stat-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.summary-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.summary-stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    line-height: 1;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.summary-stat-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 0.75rem;
}

.summary-stat-trend i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.graph-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.legend-item-graph {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.legend-color-box {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.legend-color-box.first-time {
    background: linear-gradient(to top, #28a745, #20c997);
}

.legend-color-box.retaker {
    background: linear-gradient(to top, #ffc107, #ff9800);
}

.legend-color-box.overall {
    background: linear-gradient(to top, #0066cc, #4d9fff);
}

.bar-graph-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    width: 100%;
}

.bar-graph-container {
    position: relative;
    min-height: 420px;
    height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    padding: 60px 15px 80px 60px;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    width: fit-content;
    --chart-area-percent: 66.67%;
}

.y-axis-graph {
    position: absolute;
    left: 0;
    top: 60px;
    bottom: 80px;
    width: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.y-label-graph {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: right;
    padding-right: 8px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
}

.y-label-graph:first-child {
    transform: translateY(0);
}

.y-label-graph:last-child {
    transform: translateY(-100%);
}

.grid-line-graph {
    position: absolute;
    left: 60px;
    right: 15px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.year-group-graph {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    position: relative;
    min-width: 130px;
    flex-shrink: 0;
    height: 100%;
}

.year-group-graph.no-data-bar .bar-graph {
    opacity: 0.3;
    background: rgba(150, 150, 150, 0.3) !important;
}

.year-group-graph.no-data-bar .graduate-count-graph {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.bar-wrapper-graph {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
    position: relative;
    height: 100%;
    justify-content: flex-end;
}

.bar-graph {
    width: 100%;
    border-radius: 8px 8px 0 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    position: relative;
    transform-origin: bottom;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: barGrow 0.8s ease-out forwards;
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.bar-graph.first-time {
    background: linear-gradient(to top, #28a745, #20c997);
}

.bar-graph.retaker {
    background: linear-gradient(to top, #ffc107, #ff9800);
}

.bar-graph.overall {
    background: linear-gradient(to top, #0066cc, #4d9fff);
}

.bar-graph:hover {
    transform: scaleY(1.08) scaleX(1.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.bar-graph.first-time:hover {
    background: linear-gradient(to top, #239a3e, #1bb589);
}

.bar-graph.retaker:hover {
    background: linear-gradient(to top, #f0b800, #f08c00);
}

.bar-graph.overall:hover {
    background: linear-gradient(to top, #0059b3, #4090ff);
}

.value-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    
    /* Liquid glass effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
    
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 8px;
    pointer-events: none;
    z-index: 100;
}

.bar-graph:hover .value-tooltip {
    opacity: 1;
}

.year-label-graph {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 700;
    white-space: nowrap;
    width: 120px;
    text-align: center;
}

.graduate-count-graph {
    position: absolute;
    bottom: -72px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.no-graph-data {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.no-graph-data i {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }

    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(4, 10, 71, 0.98) 0%, rgba(8, 4, 107, 0.98) 100%);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        padding: 2.5rem 0;
        gap: 0.5rem;
        border-top: 2px solid var(--primary-yellow);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateX(-20px);
        animation: slideInLeft 0.4s ease forwards;
    }

    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.6s; }

    @keyframes slideInLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        margin: 0 1rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        color: white;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0);
        color: rgb(255, 188, 18);
    }

    .nav-link::after {
        display: none;
    }

    .admin-btn {
        margin: 1rem 2rem 0;
        padding: 0.875rem 2rem;
        font-size: 1.05rem;
        background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
        border: 2px solid transparent;
        background-clip: padding-box;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .hero {
        padding: 50px 15px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }

    .hero-content {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 400px;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .batch-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .batch-card {
        padding: 1.5rem;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .modal-content {
        width: 95%;
        padding: 2rem;
        margin: 1rem;
    }

    .about-section,
    .alumni-section,
    .contact-section {
        padding: 50px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .board-stats-section {
        padding: 50px 15px;
    }

    .board-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .board-stat-card {
        padding: 1.5rem;
    }

    .board-stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .board-stat-month-year {
        font-size: 1.3rem;
    }

    .board-stat-pass-rate {
        font-size: 2.5rem;
    }

    .board-stats-summary-container {
        padding: 2rem;
    }

    .summary-stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .summary-stat-card {
        padding: 1.5rem;
    }

    .summary-stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .summary-stat-value {
        font-size: 2.5rem;
    }

    .summary-stat-label {
        font-size: 0.8rem;
    }

    .summary-stat-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .summary-stat-trend {
        font-size: 0.75rem;
    }

    .bar-graph-container {
        padding: 50px 10px 80px 50px;
        min-height: 380px;
        height: 380px;
        --chart-area-percent: 65.79%;
    }

    .y-axis-graph {
        top: 50px;
    }

    .grid-line-graph {
        left: 50px;
    }

    .bar-wrapper-graph {
        width: 35px;
    }

    .year-group-graph {
        gap: 8px;
        min-width: 115px;
    }

    .alumni-modal-search-container {
        margin-bottom: 1.5rem;
    }
    
    .alumni-modal-search-box {
        padding: 0.6rem 1rem;
    }
    
    .alumni-modal-search-box i.fa-search {
        font-size: 1rem;
        margin-right: 0.75rem;
    }
    
    #alumniModalSearch {
        font-size: 0.95rem;
        padding: 0.4rem 0;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-logo {
        gap: 10px;
    }

    .logo-img {
        height: 35px;
    }

    .nav-title {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .search-container {
        max-width: 100%;
    }

    .search-box {
        padding: 0.4rem 1rem;
    }

    .search-box i {
        font-size: 1rem;
        margin-right: 0.75rem;
    }

    #searchInput {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }

    .hero-stats {
        gap: 1rem;
        max-width: 100%;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-card i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .stat-card h3 {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }

    .stat-card p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
        bottom: -8px;
    }

    .about-section,
    .alumni-section,
    .contact-section {
        padding: 40px 15px;
    }

    .about-text,
    .contact-card,
    .batch-card,
    .info-item {
        padding: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .batch-filter-container {
        max-width: 100%;
    }

    .batch-search-box {
        padding: 0.6rem 1rem;
    }

    #batchSearchInput {
        font-size: 0.9rem;
    }

    .batch-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .batch-card h3 {
        font-size: 1.5rem;
    }

    .contact-cards,
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card i,
    .info-item i {
        font-size: 2rem;
    }

    .contact-card h4,
    .info-item h4 {
        font-size: 1.1rem;
    }

    .contact-card p,
    .contact-card a,
    .info-item p {
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .close {
        right: 1rem;
        top: 1rem;
        font-size: 1.75rem;
        width: 30px;
        height: 30px;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .alumni-details-header {
        padding: 1.5rem;
    }

    .alumni-details-header h2 {
        font-size: 1.5rem;
    }

    .detail-section {
        padding: 1.25rem;
    }

    .detail-section h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .job-item,
    .business-item {
        padding: 1rem;
    }

    .job-title,
    .business-name {
        font-size: 1rem;
    }

    .footer {
        padding: 2.5rem 15px 1rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.25rem;
    }

    .notification-body i {
        font-size: 3rem;
    }

    .notification-body p {
        font-size: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-top: -1rem;
        margin-bottom: 2rem;
    }

    .board-stat-card {
        padding: 1.25rem;
    }

    .board-stat-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .board-stat-month-year {
        font-size: 1.15rem;
    }

    .board-stat-pass-rate {
        font-size: 2rem;
    }

    .board-stat-label {
        font-size: 0.85rem;
    }

    .board-stat-click-hint {
        font-size: 0.8rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .board-stat-details-header {
        padding: 1.5rem;
    }

    .board-stat-details-header h2 {
        font-size: 1.5rem;
    }

    .board-stat-details-rate {
        font-size: 3rem;
    }

    .board-stat-details-content {
        padding: 1.5rem;
    }

    .board-stat-details-content h3 {
        font-size: 1.15rem;
    }

    .board-stat-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .highlight-item {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .highlight-item i {
        font-size: 1rem;
    }

    .board-stats-summary-container {
        padding: 1.5rem;
    }

    .summary-stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .summary-stat-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .summary-stat-header {
        margin-bottom: 1rem;
    }

    .summary-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border-radius: 10px;
    }

    .summary-stat-value {
        font-size: 2rem;
    }

    .summary-stat-label {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .summary-stat-badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .summary-stat-trend {
        font-size: 0.7rem;
        padding-top: 0.5rem;
        margin-top: 0.5rem;
    }

    .graph-legend {
        gap: 1rem;
    }

    .bar-graph-container {
        padding: 45px 8px 80px 45px;
        min-height: 360px;
        height: 360px;
        --chart-area-percent: 65.28%;
    }

    .y-axis-graph {
        top: 45px;
        width: 40px;
    }

    .grid-line-graph {
        left: 45px;
    }

    .bar-wrapper-graph {
        width: 35px;
    }

    .year-group-graph {
        gap: 8px;
        min-width: 115px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.35rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .nav-title {
        font-size: 0.8rem;
    }

    .logo-img {
        height: 30px;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .stat-card i {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 1.1rem;
    }

    .notification-body i {
        font-size: 2.5rem;
    }

    .notification-body p {
        font-size: 0.95rem;
    }

    .board-stat-card {
        padding: 1rem;
    }

    .board-stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .board-stat-month-year {
        font-size: 1rem;
    }

    .board-stat-pass-rate {
        font-size: 1.75rem;
    }

    .board-stat-label {
        font-size: 0.8rem;
    }

    .board-stat-no-exam {
        font-size: 0.95rem;
        padding: 0.75rem;
    }

    .board-stat-click-hint {
        font-size: 0.75rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }

    .board-stat-details-header {
        padding: 1.25rem;
    }

    .board-stat-details-header h2 {
        font-size: 1.3rem;
    }

    .board-stat-details-rate {
        font-size: 2.5rem;
    }

    .board-stat-details-header p {
        font-size: 0.95rem;
    }

    .board-stat-details-content {
        padding: 1.25rem;
    }

    .board-stat-details-content h3 {
        font-size: 1rem;
    }

    .board-stat-description {
        font-size: 0.9rem;
    }

    .highlight-item {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .highlight-item i {
        font-size: 0.9rem;
    }

    .summary-stats-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .summary-stat-card {
        padding: 1.25rem;
    }

    .summary-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .summary-stat-value {
        font-size: 2rem;
    }

    .summary-stat-label {
        font-size: 0.75rem;
    }

    .summary-stat-badge {
        font-size: 0.6rem;
    }

    .summary-stat-trend {
        font-size: 0.7rem;
    }

    .graph-legend {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .bar-graph-container {
        padding: 40px 5px 80px 40px;
        min-height: 340px;
        height: 340px;
        --chart-area-percent: 64.71%;
    }

    .y-axis-graph {
        top: 40px;
        width: 35px;
    }

    .y-label-graph {
        font-size: 0.75rem;
        padding-right: 5px;
    }

    .grid-line-graph {
        left: 40px;
    }

    .bar-wrapper-graph {
        width: 28px;
    }

    .year-group-graph {
        gap: 5px;
        min-width: 95px;
    }

    .alumni-modal-search-container {
        margin-bottom: 1.25rem;
    }
    
    .alumni-modal-search-box {
        padding: 0.5rem 0.875rem;
    }
    
    .alumni-modal-search-box i.fa-search {
        font-size: 0.95rem;
        margin-right: 0.5rem;
    }
    
    #alumniModalSearch {
        font-size: 0.9rem;
        padding: 0.35rem 0;
    }
    
    #alumniModalSearch::placeholder {
        font-size: 0.85rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 30px 15px;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card i {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .nav-menu {
        padding: 1.5rem 0;
        max-height: calc(100vh - 60px);
    }
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--primary-yellow);
    color: var(--dark-blue);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 26, 77, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.7);
    background-clip: padding-box;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.stat-card:hover::before,
.batch-card:hover::before,
.contact-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 10s infinite;
    border-radius: inherit;
}

.stat-card,
.batch-card,
.contact-card {
    position: relative;
    overflow: hidden;
}