: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: 1400px;
    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);
    padding-bottom: 1.5rem; /* FIXED: Added padding to prevent overlap */
    z-index: 10; /* FIXED: Ensure title is above the pseudo-element */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; /* FIXED: Changed from -10px to 0 to sit below the text */
    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);
    z-index: -1; /* FIXED: Place divider behind the text */
}

.about-section,
.alumni-section,
.contact-section {
    padding: 80px 20px;
    position: relative;
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text,
.batch-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);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-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);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-height: 215px;
}

.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);
    min-height: 180px;
}

.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 h4 a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
    font-size: 1.25rem;
}

.contact-card h4 a:hover {
    color: var(--primary-yellow);
}

.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;
}

.field-of-practice-section {
    padding: 80px 20px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-top: 0.5rem; /* FIXED: Prevent overlap with yellow divider */
    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; }
    .nav-menu.active li:nth-child(7) { animation-delay: 0.7s; }

    @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;
        padding-bottom: 1.25rem; /* FIXED: Maintain padding on tablets */
    }

    .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;
    }

    .field-of-practice-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;
        padding-bottom: 1rem; /* FIXED: Maintain padding on mobile */
    }

    .section-title::after {
        width: 60px;
        height: 3px;
        bottom: 0; /* FIXED: Keep at bottom, not negative */
    }

    .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: 0.5rem; /* FIXED: Prevent overlap with divider */
        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;
        padding-bottom: 0.875rem; /* FIXED: Adjusted padding for small screens */
    }

    .section-title::after {
        bottom: 0; /* FIXED: Maintain proper positioning */
    }

    .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;
}/* ================================================================
   BATCH CARD & ALUMNI CARD STYLES - MATCHING SCREENSHOT DESIGN
   Replace your current style.css with this complete version
   ================================================================ */

/* Batch Card Year Text - Large and Visible */
.batch-card .batch-header {
    margin-bottom: 1rem;
}

.batch-card .batch-year {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: -0.5px;
    line-height: 1;
}


.batch-card .batch-count {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500 !important;
}

/* Change "Alumni" to "Graduates" to match screenshot */
.batch-card .batch-count::after {
    content: '';
}

/* Batch stats section - shows tracked count */
.batch-card .batch-stats {
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.batch-card .batch-tracked-count {
    font-size: 0.9rem !important;
    color: rgba(251, 191, 36, 0.9) !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.batch-card .batch-tracked-count::before {
    content: '✓';
    color: rgba(34, 197, 94, 0.9);
    font-weight: 700;
    font-size: 1rem;
}

.batch-stats-preview {
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.batch-stats-preview .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.batch-stats-preview .stat-label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
}

.batch-stats-preview .stat-value {
    color: #ffd700 !important;
    font-weight: 700 !important;
    font-size: 1.1rem;
}

.batch-card-footer {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.batch-card-footer span,
.batch-card-footer i {
    color: rgba(255, 255, 255, 0.7) !important;
}

.batch-card:hover .batch-card-footer,
.batch-card:hover .batch-card-footer span,
.batch-card:hover .batch-card-footer i {
    color: #ffd700 !important;
}

.batch-card-footer i {
    transition: transform 0.3s ease;
}

.batch-card:hover .batch-card-footer i {
    transform: translateX(5px);
}

/* Ensure proper card structure */
.batch-card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ================================================================
   ALUMNI CARD STYLES - MATCHING SCREENSHOT DESIGN
   ================================================================ */

.alumni-card {
    background: rgba(108, 128, 163, 0.35) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.alumni-card:hover {
    background: rgba(108, 128, 163, 0.45) !important;
    border-color: rgba(255, 215, 0, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.alumni-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.alumni-card-header h3 {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    flex: 1;
    line-height: 1.3;
}

.batch-badge {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    border: none !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.alumni-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alumni-info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
}

.alumni-info-row i {
    color: rgba(255, 255, 255, 0.5) !important;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.alumni-info-row span {
    flex: 1;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Arrow icon on the right side of alumni cards */
.alumni-card::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd700 !important;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.alumni-card {
    position: relative;
    padding-right: 3rem;
}

.alumni-card:hover::after {
    right: 1.25rem;
    opacity: 1;
}

/* Alumni Modal Search Box - Matching Screenshot */
.alumni-modal-search-container {
    margin-bottom: 1.5rem;
}

.alumni-modal-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(108, 128, 163, 0.35) !important;
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0.875rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.alumni-modal-search-box:focus-within {
    background: rgba(108, 128, 163, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.alumni-modal-search-box i.fa-search {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 1.1rem;
    margin-right: 1rem;
}

#alumniModalSearch {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    color: #ffffff !important;
}

#alumniModalSearch::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* Clear button in alumni modal search */
#clearAlumniModalSearch {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    color: #ffffff;
}

#clearAlumniModalSearch:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Modal title styling to match screenshot */
#batchTitle {
    color: #ffffff !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .batch-card .batch-year {
        font-size: 2.5rem !important;
    }
    
    .batch-card .batch-count {
        font-size: 1rem !important;
    }
    
    .batch-card .batch-stats {
        padding: 0.6rem;
        margin: 0.6rem 0;
    }
    
    .batch-card .batch-tracked-count {
        font-size: 0.85rem !important;
    }
    
    .alumni-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .alumni-card::after {
        top: 1.5rem;
        transform: none;
    }
}

@media (max-width: 480px) {
    .batch-card .batch-year {
        font-size: 2rem !important;
    }
    
    .batch-card .batch-stats {
        padding: 0.5rem;
        margin: 0.5rem 0;
    }
    
    .batch-card .batch-tracked-count {
        font-size: 0.8rem !important;
    }
    
    .alumni-card {
        padding: 1.25rem;
        padding-right: 2.5rem;
    }
    
    .alumni-card-header h3 {
        font-size: 1.1rem !important;
    }
    
    #batchTitle {
        font-size: 1.5rem !important;
    }
}

/* Handle null/empty employment status - hide the row */
.alumni-info-row:has(span:empty),
.alumni-info-row span:empty {
    display: none !important;
}

/* Show N/A for null employment status */
.alumni-info-row span:is(:empty, [data-empty="true"])::before {
    content: 'N/A';
    color: rgba(255, 255, 255, 0.5);
}
/* ================================================================
   BATCH CARD REDESIGN - MATCHING SCREENSHOT
   Add these styles to your style1.css file
   ================================================================ */

/* Batch Card Container */
.batch-card {
    background: linear-gradient(135deg, rgba(30, 59, 138, 0.123) 0%, rgba(143, 166, 215, 0.196) 100%) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    padding: 2.5rem 2rem !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay effect */
.batch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(59, 131, 246, 0.078) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.batch-card:hover::before {
    opacity: 1;
}

.batch-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(30, 58, 138, 0.85) 100%) !important;
    border-color: rgba(255, 215, 0, 0.4) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.3) !important;
}

/* Batch Header */
.batch-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Year Display - Large and Bold */
.batch-year {
    font-size: 4.5rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    margin-bottom: 0.75rem !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    letter-spacing: -2px;
    font-family: 'Inter', sans-serif;
}

/* Alumni Count */
.batch-count {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Stats Preview Section */
.batch-stats-preview {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-label {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.95rem;
    font-weight: 500;
}

.stat-value {
    color: #fbbf24 !important;
    font-weight: 700 !important;
    font-size: 1.25rem;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

/* Card Footer - Click Hint */
.batch-card-footer {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.batch-card-footer span {
    color: rgba(255, 255, 255, 0.65) !important;
}

.batch-card-footer i {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.batch-card:hover .batch-card-footer,
.batch-card:hover .batch-card-footer span,
.batch-card:hover .batch-card-footer i {
    color: #fbbf24 !important;
}

.batch-card:hover .batch-card-footer i {
    transform: translateX(5px);
}

/* ================================================================
   BOARD EXAM STATS MODAL REDESIGN - MATCHING SCREENSHOT
   Add these styles to your style1.css file
   ================================================================ */

/* Board Stats Modal Header */
.board-stat-details-header {
    background: linear-gradient(135deg, rgba(39, 72, 161, 0.436) 0%, rgba(98, 125, 183, 0.272) 100%) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: #ffffff;
    padding: 3rem 2.5rem !important;
    border-radius: 24px !important;
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
    position: relative;
    overflow: hidden;
}

/* Gradient overlay effect */
.board-stat-details-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center top, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.board-stat-details-header h2 {
    color: #ffffff !important;
    margin-bottom: 1.5rem !important;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

/* Pass Rate Display */
.board-stat-main-rate {
    font-size: 5rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    margin: 1.5rem 0 !important;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.5) !important;
    position: relative;
    z-index: 1;
    letter-spacing: -2px;
}

.board-stat-subtitle {
    font-size: 1.125rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500 !important;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Details Body Section */
.board-stat-details-body {
    margin-top: 2rem;
}

.board-stat-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.board-stat-section:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.board-stat-section:last-child {
    margin-bottom: 0;
}

.board-stat-section h3 {
    color: #ffffff !important;
    margin-bottom: 1.25rem !important;
    font-size: 1.5rem !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    font-weight: 600;
}

.board-stat-section h3 i {
    color: #fbbf24 !important;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.5));
    font-size: 1.35rem;
}

.board-stat-section p {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.8;
    font-size: 1.0625rem;
}

/* Highlights List */
.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(251, 191, 36, 0.12);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #fbbf24;
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.highlights-list li::before {
    content: '★';
    color: #fbbf24;
    font-size: 1.25rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(251, 191, 36, 0.5));
}

.highlights-list li:hover {
    background: rgba(251, 191, 36, 0.18);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================ */

@media (max-width: 968px) {
    .batch-year {
        font-size: 3.5rem !important;
    }
    
    .batch-count {
        font-size: 1.125rem !important;
    }
    
    .batch-card {
        min-height: 280px;
        padding: 2rem 1.75rem !important;
    }
    
    .board-stat-details-header {
        padding: 2.5rem 2rem !important;
    }
    
    .board-stat-details-header h2 {
        font-size: 2rem !important;
    }
    
    .board-stat-main-rate {
        font-size: 4rem !important;
    }
    
    .board-stat-section {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .batch-year {
        font-size: 3rem !important;
    }
    
    .batch-count {
        font-size: 1rem !important;
    }
    
    .batch-card {
        min-height: 260px;
        padding: 1.75rem 1.5rem !important;
    }
    
    .stat-value {
        font-size: 1.125rem;
    }
    
    .board-stat-details-header {
        padding: 2rem 1.5rem !important;
    }
    
    .board-stat-details-header h2 {
        font-size: 1.75rem !important;
    }
    
    .board-stat-main-rate {
        font-size: 3.5rem !important;
    }
    
    .board-stat-subtitle {
        font-size: 1rem !important;
    }
    
    .board-stat-section {
        padding: 1.5rem;
    }
    
    .board-stat-section h3 {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 480px) {
    .batch-year {
        font-size: 2.5rem !important;
    }
    
    .batch-count {
        font-size: 0.95rem !important;
    }
    
    .batch-card {
        min-height: 240px;
        padding: 1.5rem 1.25rem !important;
        border-radius: 20px !important;
    }
    
    .batch-stats-preview {
        padding: 1rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .board-stat-details-header {
        padding: 1.75rem 1.25rem !important;
        border-radius: 20px !important;
    }
    
    .board-stat-details-header h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .board-stat-main-rate {
        font-size: 3rem !important;
        margin: 1rem 0 !important;
    }
    
    .board-stat-subtitle {
        font-size: 0.95rem !important;
    }
    
    .board-stat-section {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .board-stat-section h3 {
        font-size: 1.125rem !important;
        gap: 0.5rem;
    }
    
    .board-stat-section h3 i {
        font-size: 1.125rem;
    }
    
    .board-stat-section p {
        font-size: 0.9375rem;
    }
    
    .highlights-list li {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .highlights-list li::before {
        font-size: 1.125rem;
    }
}

/* ================================================================
   ANIMATION ENHANCEMENTS
   ================================================================ */

@keyframes cardPulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
    }
}

.batch-card:hover {
    animation: cardPulse 2s ease-in-out infinite;
}

/* Smooth transitions for all interactive elements */
.batch-card,
.batch-card-footer,
.board-stat-section,
.highlights-list li {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* Data As Of Year Display on Public Pages */
.batch-data-year {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-weight: 500;
}

.batch-card:hover .batch-data-year {
    color: rgba(255, 215, 0, 0.9);
}

.batch-modal-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-top: 0.75rem;
    text-align: center;
}

.modal-title-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 0.25rem;
}/* ================================================================
   PRIVACY COMPLIANCE STYLES - ADD TO style1.css
   ================================================================ */

/* Privacy Notice in Alumni Details */
.privacy-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-top: 1rem;
    font-style: italic;
}

.privacy-notice i {
    color: #ffc107;
    font-size: 1rem;
}

/* Ensure job items without position still look good */
.job-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.job-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.job-company {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.job-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-details i {
    color: rgba(255, 215, 0, 0.8);
}

/* Responsive adjustments for privacy notice */
@media (max-width: 768px) {
    .privacy-notice {
        font-size: 0.8125rem;
        padding: 0.625rem 0.875rem;
    }
    
    .privacy-notice i {
        font-size: 0.875rem;
    }
}
/* ========================================
   Board Exam Statistics Graph Styles
   ======================================== */

.board-exam-graph-container {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: visible; /* FIXED: Prevent container from scrolling */
}

.board-exam-graph-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.board-exam-graph-title i {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.board-exam-bars-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* FIXED: Scrollable wrapper for bars only (mobile) */
.board-exam-bars-scroll-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    margin: 0 -1rem; /* Negative margin to extend scroll area */
    padding: 0 1rem; /* Padding to compensate */
}

.board-exam-bars-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.board-exam-bars-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.board-exam-bars-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.4);
    border-radius: 3px;
}

.board-exam-bars-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.6);
}

.board-exam-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.board-exam-bar-bg {
    width: 100%;
    height: 280px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.board-exam-bar-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
}

.board-exam-bar {
    width: 100%;
    min-height: 30px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.75rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: boardBarGrow 1.2s ease-out forwards;
    transform-origin: bottom;
}

@keyframes boardBarGrow {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    60% {
        transform: scaleY(1.05);
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.board-exam-bar.first-take {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    box-shadow: 
        0 4px 20px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.board-exam-bar.repeater {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 
        0 4px 20px rgba(239, 68, 68, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.board-exam-bar.overall {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 
        0 4px 20px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.board-exam-bar.national {
    background: linear-gradient(180deg, #a855f7 0%, #9333ea 100%);
    box-shadow: 
        0 4px 20px rgba(168, 85, 247, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.board-exam-bar-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.board-exam-bar-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    line-height: 1.4;
}

/* Hover effects */
.board-exam-bar-item:hover .board-exam-bar {
    transform: scaleY(1.08) scaleX(1.02);
    filter: brightness(1.15);
}

.board-exam-bar-item:hover .board-exam-bar-label {
    color: var(--primary-yellow);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.board-exam-bar-item:hover .board-exam-bar-bg {
    background: rgba(255, 255, 255, 0.08);
}

/* Responsive Design */
@media (max-width: 992px) {
    .board-exam-bars-wrapper {
        grid-template-columns: repeat(4, 1fr); /* FIXED: Keep all 4 bars in one row */
        gap: 1.5rem;
    }
    
    .board-exam-bar-bg {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .board-exam-graph-container {
        padding: 2rem 1rem;
        overflow: visible; /* FIXED: Container does not scroll */
    }
    
    .board-exam-graph-title {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem; /* FIXED: Title stays fixed, not scrolling */
    }
    
    /* FIXED: Only the bars wrapper scrolls */
    .board-exam-bars-scroll-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    .board-exam-bars-wrapper {
        grid-template-columns: repeat(4, 1fr); /* FIXED: Keep all 4 bars in ONE ROW on mobile */
        gap: 1rem;
        max-width: none;
        min-width: 600px; /* FIXED: Minimum width to prevent squashing */
    }
    
    .board-exam-bar-bg {
        height: 200px;
    }
    
    .board-exam-bar-value {
        font-size: 0.9rem;
    }
    
    .board-exam-bar-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}

@media (max-width: 576px) {
    .board-exam-graph-container {
        padding: 1.5rem 0.75rem;
        margin: 1.5rem 0;
        overflow: visible; /* FIXED: Container does not scroll */
    }
    
    .board-exam-graph-title {
        font-size: 1.15rem;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem; /* FIXED: Title stays fixed above scrollable bars */
    }
    
    /* FIXED: Only the bars wrapper scrolls horizontally */
    .board-exam-bars-scroll-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        margin: 0 -0.75rem;
        padding: 0 0.75rem;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    .board-exam-bars-wrapper {
        grid-template-columns: repeat(4, 1fr); /* FIXED: Keep all 4 bars in ONE ROW - single horizontal line */
        gap: 0.75rem;
        min-width: 500px; /* FIXED: Force horizontal scroll on very small screens */
    }
    
    .board-exam-bar-bg {
        height: 160px;
    }
    
    .board-exam-bar-value {
        font-size: 0.85rem;
    }
    
    .board-exam-bar-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

/* Animation delay for sequential bar appearance */
.board-exam-bar-item:nth-child(1) .board-exam-bar {
    animation-delay: 0s;
}

.board-exam-bar-item:nth-child(2) .board-exam-bar {
    animation-delay: 0.15s;
}

.board-exam-bar-item:nth-child(3) .board-exam-bar {
    animation-delay: 0.3s;
}

.board-exam-bar-item:nth-child(4) .board-exam-bar {
    animation-delay: 0.45s;
}
/* =====================================================
   MULTI-FIELD OF PRACTICE DISPLAY TAGS (alumni details modal)
   ===================================================== */

.multi-field-value {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: flex-start;
}

.multi-field-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 20px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
}

.multi-field-tag-short {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 20px;
  font-size: 0.78rem;
  color: #fbbf24;
  line-height: 1.4;
}

/* ================================================================
   HOMEPAGE UI OVERHAUL — Batch Cards + Section Polish
   Added to align with existing dark-blue glass-morphism theme
   ================================================================ */

/* ── Section layout improvements ── */
.about-section,
.alumni-section,
.field-of-practice-section,
.board-stats-section,
.contact-section {
    padding: 90px 20px;
    position: relative;
}

/* Subtle separator between sections */
.alumni-section::before,
.field-of-practice-section::before,
.board-stats-section::before,
.contact-section::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
}

/* ── Section title refinement ── */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.3px;
    padding-bottom: 1.25rem;
    margin-bottom: 2.5rem;
}

/* ── About section: single-column stacked layout ── */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* About text improved legibility */
.about-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
}

/* ── Batch grid ── */
.batch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

/* ── BATCH CARD — full redesign ── */

/* Base card (glass + border already set from shared rule above) */
.batch-card {
    padding: 0 !important;         /* override shared padding, we control it inside */
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border-radius: 18px !important;
    min-height: 210px;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.3s ease,
                border-color 0.3s ease,
                background 0.3s ease !important;
}

/* Animated top accent bar */
.batch-card-top-bar {
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffa500);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.batch-card:hover .batch-card-top-bar {
    transform: scaleX(1);
}

.batch-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(255, 215, 0, 0.4) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,215,0,0.2) !important;
    background: rgba(255, 255, 255, 0.14) !important;
}

/* Header block */
.batch-header {
    padding: 1.4rem 1.25rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
}

/* "BATCH" eyebrow label */
.batch-year-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--primary-yellow);
    text-transform: uppercase;
    opacity: 0.75;
}

/* Year number */
.batch-card .batch-year {
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    letter-spacing: -1.5px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.35) !important;
    transition: color 0.25s ease;
    margin: 0 !important;
}

.batch-card:hover .batch-year {
    color: var(--primary-yellow) !important;
}

/* Alumni count pill */
.batch-alumni-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,215,0,0.12);
    border: 1px solid rgba(255,215,0,0.28);
    color: var(--primary-yellow);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.22rem 0.75rem;
    border-radius: 999px;
    margin-top: 0.3rem;
    transition: all 0.25s ease;
}

.batch-alumni-pill i {
    font-size: 0.68rem;
    opacity: 0.8;
}

.batch-card:hover .batch-alumni-pill {
    background: rgba(255,215,0,0.22);
    border-color: rgba(255,215,0,0.55);
}

/* Divider */
.batch-card-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0 1rem;
    flex-shrink: 0;
}

/* Meta row (tracked + rate) */
.batch-card-meta {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    padding: 0.65rem 1rem;
    flex-shrink: 0;
}

.batch-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

.batch-meta-item i {
    font-size: 0.68rem;
    color: rgba(255,215,0,0.55);
}

.batch-meta-rate {
    color: rgba(255,255,255,0.65);
}

/* Footer */
.batch-card .batch-card-footer {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.38) !important;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 0;
    transition: color 0.25s ease;
    background: transparent;
}

.batch-card .batch-card-footer span,
.batch-card .batch-card-footer i {
    color: inherit !important;
}

.batch-card .batch-card-footer i {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.batch-card:hover .batch-card-footer {
    color: var(--primary-yellow) !important;
}

.batch-card:hover .batch-card-footer i {
    transform: translateX(4px);
}

/* ── Contact & info-item refinements ── */
.contact-card,
.info-item {
    border-radius: 18px !important;
}

.contact-card i {
    transition: transform 0.3s ease;
}

.contact-card:hover i {
    transform: scale(1.15);
}

/* ── Submission cards (in Contact section) ── */
.submission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* ── Hero stat cards spacing ── */
.hero-stats {
    gap: 1.5rem;
}

/* ── Field-of-practice section ── */
.field-of-practice-section {
    background: rgba(0,0,0,0.08);
}

/* ── Board stats section ── */
.board-stats-section {
    background: rgba(0,10,40,0.12);
}

/* ── Batch filter container ── */
.batch-filter-container {
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

/* ── "Others" bar special callout in horizontal graph ── */
.horizontal-field-bar-item[data-group="Others"] .horizontal-field-bar-color-dot {
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
}

.horizontal-field-bar-item[data-group="Others"] .horizontal-field-bar-label::after {
    content: ' — custom entries';
    font-size: 0.75em;
    opacity: 0.6;
    font-style: italic;
}

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
    .about-section,
    .alumni-section,
    .field-of-practice-section,
    .board-stats-section,
    .contact-section {
        padding: 60px 16px;
    }

    .batch-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .batch-card .batch-year {
        font-size: 2.2rem !important;
    }

    .batch-alumni-pill {
        font-size: 0.7rem;
    }

    .batch-card-meta {
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .batch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}