:root {
    --primary-color: #2d8659;
    --primary-dark: #1f5f3f;
    --secondary-color: #4a9b8e;
    --success-color: #52c41a;
    --danger-color: #ff6b6b;
    --warning-color: #faad14;
    --light-bg: #f6fdf9;
    --dark-bg: #1b3b36;
    --text-color: #1b3b36;
    --border-color: rgba(45, 134, 89, 0.2);
    --shadow-sm: 0 2px 4px rgba(45, 134, 89, 0.08);
    --shadow-md: 0 6px 12px rgba(45, 134, 89, 0.12);
    --shadow-lg: 0 12px 24px rgba(45, 134, 89, 0.16);

    /* Neptune Green Theme */
    --neptune-primary: #2d8659;      /* Deep Neptune Green */
    --neptune-light: #52c785;        /* Light Neptune Green */
    --neptune-mint: #7fdbca;         /* Neptune Mint */
    --neptune-sage: #9eb6a0;         /* Neptune Sage */
    --neptune-forest: #1f5f3f;       /* Deep Forest */
    --neptune-ocean: #4a9b8e;        /* Ocean Green */
    --text-muted: #4a6741;
    --bg-gradient: linear-gradient(135deg, #f6fdf9 0%, #eef7f1 100%);
    --card-bg: rgba(246, 253, 249, 0.9);
    --border-natural: rgba(45, 134, 89, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-gradient);
    font-weight: 400;
    letter-spacing: 0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Font consistency */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans Thai', sans-serif;
    font-weight: 600;
}

.section-title {
    font-family: 'Noto Sans Thai', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Noto Sans Thai', sans-serif;
    font-weight: 800;
}

.nav-link {
    font-family: 'Noto Sans Thai', sans-serif;
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
#navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-item {
    position: relative;
    padding: 0 1.5rem;
}

.nav-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background: rgba(45, 134, 89, 0.3);
}

.nav-item:first-child {
    padding-left: 0;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border-radius: 25px;
    position: relative;
    display: inline-block;
}

.nav-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--neptune-primary), var(--neptune-light));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

.nav-link.active {
    color: white;
    background: var(--neptune-primary);
    box-shadow: 0 2px 8px rgba(45, 134, 89, 0.2);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-md);
    list-style: none;
    min-width: 200px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    color: var(--secondary-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #475569;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-family: 'Noto Sans Thai', sans-serif;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-family: 'Noto Sans Thai', sans-serif;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Card Styles */
.news-grid,
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.news-card,
.activity-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover,
.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card img,
.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content,
.activity-content {
    padding: 1.5rem;
}

.news-content h3,
.activity-content h3 {
    margin-bottom: 0.5rem;
}

.news-content h3 a,
.activity-content h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.news-content h3 a:hover,
.activity-content h3 a:hover {
    color: var(--primary-color);
}

.meta {
    color: var(--secondary-color);
    font-size: 0.875rem;
    display: flex;
    gap: 1rem;
}

/* Yearbook Styles */
.yearbook-years {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.year-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.year-btn:hover,
.year-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background: var(--light-bg);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-color);
}

/* Footer Styles */
#footer {
    background: #02B0AE;
    color: white;
    padding: 3rem 0 0rem;
    /* margin-top: 4rem; */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #47efed;
    color: #000000;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.loading {
    text-align: center;
    color: var(--secondary-color);
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    width: 100%;
}

/* Yearbook Styles - Exactly like original */
.yearbook-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.yearbook-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    text-align: left;
}

.yearbook-subtitle {
    margin-bottom: 1.5rem;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: #666;
    border: none;
    margin: 0;
}

.yearbook-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.yearbook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Year Card Styles */
.year-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border: 2px solid var(--border-natural);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.year-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--neptune-primary), var(--neptune-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.year-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--neptune-primary);
}

.year-card:hover::before {
    opacity: 1;
}

.year-card.active {
    background: linear-gradient(135deg, #f6fdf9 0%, #eef7f1 100%);
    border-color: var(--neptune-primary);
    border-width: 3px;
}

.year-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--neptune-primary);
    margin-bottom: 0.5rem;
    font-family: 'Noto Sans Thai', sans-serif;
}

.year-info {
    margin: 1rem 0;
}

.year-ad {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.student-count {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.badge-active {
    display: inline-block;
    background: var(--neptune-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.btn-view-yearbook {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: var(--neptune-primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--neptune-primary);
}

.btn-view-yearbook:hover {
    background: var(--neptune-forest);
    border-color: var(--neptune-forest);
    transform: scale(1.05);
}

.yearbook-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    transform: translateY(0);
}

.yearbook-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(45, 134, 89, 0.05), rgba(45, 134, 89, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.yearbook-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(45, 134, 89, 0.25);
}

.yearbook-card:hover::before {
    opacity: 1;
}

.yearbook-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.yearbook-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.1), rgba(45, 134, 89, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.yearbook-card:hover .yearbook-image::after {
    opacity: 1;
}

.yearbook-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1);
}

.yearbook-card:hover .yearbook-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.yearbook-content {
    padding: 1.5rem;
    position: relative;
}

.purple-line {
    width: 30px;
    height: 3px;
    background-color: #8B5FBF;
    margin-bottom: 1rem;
}

.yearbook-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.yearbook-card:hover .yearbook-content h3 {
    color: #8B5FBF;
}

/* Card Animation on Load */
.yearbook-card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.6s ease-out forwards;
}

.yearbook-card:nth-child(1) { animation-delay: 0.1s; }
.yearbook-card:nth-child(2) { animation-delay: 0.2s; }
.yearbook-card:nth-child(3) { animation-delay: 0.3s; }
.yearbook-card:nth-child(4) { animation-delay: 0.4s; }
.yearbook-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth title animation */
.yearbook-title {
    opacity: 0;
    transform: translateX(-30px);
    animation: titleSlideIn 0.8s ease-out 0.2s forwards;
}

@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.yearbook-description {
    opacity: 0;
    transform: translateY(20px);
    animation: descFadeIn 0.8s ease-out 0.4s forwards;
}

@keyframes descFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Student Yearbook Page Styles */
.student-yearbook-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.yearbook-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.yearbook-header h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.back-btn {
    color: var(--neptune-primary);
    background: white;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Noto Sans Thai', sans-serif;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--neptune-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.back-btn:hover {
    background-color: var(--neptune-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

.yearbook-actions {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.yearbook-actions .back-btn,
.yearbook-actions .btn-primary-modern {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.student-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.student-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.student-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.student-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.student-card:hover .student-photo img {
    transform: scale(1.05);
}

.student-info {
    padding: 1.5rem;
}

.student-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neptune-primary);
    margin-bottom: 0.8rem;
    text-align: center;
}

.student-details {
    color: var(--text-color);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.student-details strong {
    color: var(--neptune-primary);
    font-weight: 600;
}

.contact-icon {
    display: none;
}

.btn-edit-student {
    width: 100%;
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    background: white;
    color: var(--neptune-primary);
    border: 2px solid var(--neptune-primary);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Noto Sans Thai', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-student:hover {
    background: var(--neptune-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

/* Glow effect for cards */
.yearbook-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(45, 134, 89, 0.25), 0 0 0 1px rgba(45, 134, 89, 0.1);
}

/* Subtle pulse for purple line */
.purple-line {
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        opacity: 1;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.8;
        transform: scaleX(1.05);
    }
}

/* Page transition effect */
.yearbook-section {
    animation: pageSlideIn 0.8s ease-out;
}

@keyframes pageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Homepage Styles */
.hero-modern {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--neptune-primary) 0%, var(--neptune-mint) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    justify-content: flex-start;
}

.btn-primary-modern {
    background: var(--neptune-primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Noto Sans Thai', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

.btn-primary-modern:hover {
    background: var(--neptune-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 134, 89, 0.4);
}

.btn-outline-modern {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background: white;
    color: #8B5FBF;
    transform: translateY(-3px);
}

.hero-visual {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s ease-out 0.5s forwards;
    display: flex;
    justify-content: flex-start;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
    margin-left: 0;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section Styles */
.about-section,
.blog-section,
.faculty-section {
    padding: 100px 0;
    position: relative;
}

.about-section {
    background: #f8fafc;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-title {
    font-family: 'Noto Sans Thai', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: cardSlideUp 0.8s ease-out forwards;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.3s; }
.about-card:nth-child(3) { animation-delay: 0.5s; }

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 134, 89, 0.2);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.about-card p {
    color: #666;
    line-height: 1.6;
}

@keyframes cardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Faculty Grid */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faculty-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: cardSlideUp 0.8s ease-out forwards;
}

.faculty-card:nth-child(1) { animation-delay: 0.1s; }
.faculty-card:nth-child(2) { animation-delay: 0.3s; }
.faculty-card:nth-child(3) { animation-delay: 0.5s; }

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(45, 134, 89, 0.2);
}

.faculty-image {
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--neptune-primary) 0%, var(--neptune-ocean) 100%);
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-image img {
    transform: scale(1.05);
}

.faculty-info {
    padding: 1.5rem;
}

.faculty-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.faculty-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Yearbook Preview Grid */
.yearbook-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 640px) {
    .yearbook-preview-grid {
        grid-template-columns: 1fr;
    }
}

.yearbook-preview-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(45, 134, 89, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    animation: cardSlideUp 0.8s ease-out forwards;
}

.yearbook-preview-card:nth-child(1) { animation-delay: 0.1s; }
.yearbook-preview-card:nth-child(2) { animation-delay: 0.3s; }
.yearbook-preview-card:nth-child(3) { animation-delay: 0.5s; }

.yearbook-preview-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(45, 134, 89, 0.25);
}

.yearbook-preview-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.yearbook-preview-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.1), rgba(45, 134, 89, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.yearbook-preview-card:hover .yearbook-preview-image::after {
    opacity: 1;
}

.yearbook-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.yearbook-preview-card:hover .yearbook-preview-image img {
    transform: scale(1.08);
}

/* No Image Placeholder */
.yearbook-preview-image.no-image {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-image-placeholder {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
}

.yearbook-preview-content {
    padding: 1.5rem;
    position: relative;
}

.yearbook-preview-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem;
    transition: color 0.3s ease;
}

.yearbook-preview-content p {
    color: #8B5FBF;
    font-weight: 500;
    margin: 0;
}

.yearbook-preview-card:hover .yearbook-preview-content h3 {
    color: #8B5FBF;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.navigation-arrows {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid var(--neptune-primary);
    background: white;
    color: var(--neptune-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: var(--neptune-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

.nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-arrow:disabled:hover {
    background: white;
    color: #8B5FBF;
    transform: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .students-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .yearbook-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .yearbook-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .yearbook-preview-grid {
        gap: 1.5rem;
    }

    .yearbook-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .students-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .yearbook-title {
        font-size: 1.5rem;
    }

    .yearbook-section {
        padding: 2rem 0;
    }

    .student-yearbook-section {
        padding: 2rem 0;
    }

    .yearbook-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .yearbook-header h1 {
        font-size: 1.5rem;
    }

    .yearbook-actions {
        flex-direction: row;
        width: 100%;
        gap: 0.5rem;
    }

    .yearbook-actions .back-btn,
    .yearbook-actions .btn-primary-modern {
        flex: 1;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    /* Homepage Responsive */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-modern,
    .btn-outline-modern {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-grid,
    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-md);
        padding: 1rem;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-item {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        margin: 0;
        padding-left: 1rem;
    }

    .nav-auth {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .news-grid,
    .activities-grid {
        grid-template-columns: 1fr;
    }
}

/* News Page Styles */
.page-hero {
    background: linear-gradient(135deg, var(--neptune-primary) 0%, var(--neptune-mint) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

/* News Hero Layout - Image Left, Content Right */
.news-hero {
    text-align: left;
}

.hero-layout {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.news-hero .hero-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    width: 100%;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.news-hero .page-subtitle {
    margin: 0 auto;
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .news-hero .hero-content {
        text-align: center;
    }

    .news-hero .page-subtitle {
        margin: 0 auto;
    }

    .hero-image {
        max-width: 100%;
    }
}

.news-grid-section {
    padding: 4rem 0;
    background: #f8fafc;
    font-family: 'Noto Sans Thai', sans-serif;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: white;
    border: 2px solid var(--border-natural);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Noto Sans Thai', sans-serif;
    color: var(--text-color);
    font-size: 1rem;
}

.filter-tab:hover {
    border-color: var(--neptune-primary);
    color: var(--neptune-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(45, 134, 89, 0.15);
}

.filter-tab.active {
    background: var(--neptune-primary);
    color: white;
    border-color: var(--neptune-primary);
}

.news-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 134, 89, 0.15);
}

.news-card[data-category="activities"] {
    cursor: pointer;
}

.news-card[data-category="activities"]:hover .news-title {
    color: #4CAF50;
    transition: color 0.3s ease;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--neptune-primary), var(--neptune-mint));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-content {
    padding: 1.5rem;
    overflow: hidden;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.news-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.news-stats {
    display: flex;
    gap: 1rem;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    color: #666;
}

.news-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more {
    color: #8B5FBF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #667eea;
}

.load-more-container {
    text-align: center;
}

.btn-outline-modern {
    background: transparent;
    border: 2px solid #8B5FBF;
    color: #8B5FBF;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-modern:hover {
    background: linear-gradient(135deg, var(--neptune-primary), var(--neptune-mint));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 134, 89, 0.3);
}

/* News Page Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .news-masonry-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .news-content {
        padding: 1rem;
    }

    .news-title {
        font-size: 1.1rem;
    }
}

/* Animation delays for stagger effect */
.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }
.news-card:nth-child(5) { animation-delay: 0.5s; }
.news-card:nth-child(6) { animation-delay: 0.6s; }
.news-card:nth-child(7) { animation-delay: 0.7s; }
.news-card:nth-child(8) { animation-delay: 0.8s; }

/* Faculty Section Styles */
.faculty-section {
    padding: 4rem 0;
    background: white;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faculty-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 134, 89, 0.15);
}

.faculty-image {
    height: 250px;
    overflow: hidden;
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-image img {
    transform: scale(1.05);
}

.faculty-info {
    padding: 1.5rem;
}

.faculty-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.faculty-position {
    color: #8B5FBF;
    font-weight: 500;
    margin-bottom: 1rem;
}

.faculty-expertise {
    color: #64748b;
    line-height: 1.6;
}

/* Projects Section Styles */
.projects-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.slider-container {
    position: relative;
    margin-top: 2rem;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 15px;
}

.projects-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex: 0 0 350px;
    width: 350px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 134, 89, 0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--neptune-primary), var(--neptune-mint));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.project-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    background: linear-gradient(135deg, var(--neptune-primary), var(--neptune-mint));
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.3);
}

.slider-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.4);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: linear-gradient(135deg, var(--neptune-primary), var(--neptune-mint));
    transform: scale(1.2);
}

/* Responsive Design for Slider */
@media (max-width: 768px) {
    .project-card {
        flex: 0 0 280px;
        width: 280px;
    }

    .projects-slider {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .project-card {
        flex: 0 0 250px;
        width: 250px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* News Memory Slider Styles */
.news-slider-container {
    position: relative;
    margin-top: 2rem;
}

.news-slider-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.news-slider {
    display: flex;
    transition: transform 0.6s ease;
    gap: 2rem;
}

.news-memory-card {
    flex: 0 0 500px;
    width: 500px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

.news-memory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(45, 134, 89, 0.2);
}

.memory-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.memory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.9);
}

.news-memory-card:hover .memory-image img {
    transform: scale(1.05);
    filter: brightness(1);
}

.memory-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.7), rgba(127, 219, 202, 0.7));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.news-memory-card:hover .memory-overlay {
    opacity: 1;
}

.memory-date {
    background: rgba(255, 255, 255, 0.95);
    color: #8B5FBF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.memory-content {
    padding: 2rem;
    background: linear-gradient(135deg, #fafafa, #ffffff);
}

.memory-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.memory-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* News Slider Controls */
.news-slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.news-slider-btn {
    background: linear-gradient(135deg, var(--neptune-primary), var(--neptune-mint));
    color: white;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.3);
}

.news-slider-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 134, 89, 0.4);
}

.news-slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* News Slider Dots */
.news-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.news-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.news-dot:hover {
    background: #9ca3af;
}

.news-dot.active {
    background: var(--neptune-primary);
    width: 28px;
    border-radius: 5px;
}

/* News Slider Responsive */
@media (max-width: 768px) {
    .news-memory-card {
        flex: 0 0 320px;
        width: 320px;
    }

    .memory-image {
        height: 200px;
    }

    .memory-content {
        padding: 1.5rem;
    }

    .memory-content h3 {
        font-size: 1.2rem;
    }

    .news-slider {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .news-memory-card {
        flex: 0 0 280px;
        width: 280px;
    }

    .memory-content {
        padding: 1rem;
    }

    .news-slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
}

    .yearbook-years {
        justify-content: center;
    }
}