/* ============================================
   Sections - Hero, About, Programs, Gallery,
              Info, Contact
   ============================================ */

/* ---- Content Section (shared) ---- */
.content-section {
    padding: var(--space-4xl) 0;
}

.content-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    color: var(--color-primary);
    margin-bottom: var(--space-2xl);
}

.bg-light {
    background: var(--color-bg-light);
}

/* ---- Hero Section ---- */
#hero {
    position: relative;
    width: 70%;
    height: 70vh;
    margin: var(--header-height) auto 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.hero-slider {
    position: relative;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--duration-hero) var(--ease-in-out);
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-primary);
}

/* Dark overlay on top of background image for text readability */
.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    text-align: center;
    color: var(--color-white);
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-lg);
    max-width: 720px;
    width: 85%;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}

.slide-content p {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    margin-bottom: var(--space-xl);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-xl);
    z-index: 3;
}

.hero-prev,
.hero-next {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--duration-normal);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Quick Info Bar */
.quick-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: space-around;
    padding: var(--space-lg);
    z-index: 4;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.quick-info-item i {
    color: var(--color-primary);
    font-size: var(--text-2xl);
}

.quick-info-item strong {
    display: block;
    color: var(--color-dark);
    font-size: 0.9rem;
}

.quick-info-item span {
    color: var(--color-gray);
    font-size: 0.8rem;
}

/* ---- About Section ---- */
#about {
    background: var(--color-bg-section);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.intro-text h3 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--color-secondary);
    margin-bottom: var(--space-lg);
}

.intro-text p {
    margin-bottom: var(--space-md);
    line-height: var(--leading-relaxed);
    color: var(--color-gray);
    font-size: var(--text-base);
}

.intro-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ---- Notice & Gallery Section ---- */
.notice-gallery-section {
    background: var(--color-bg-light);
    padding: var(--space-3xl) 0;
}

.notice-gallery-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.notice-board,
.quick-gallery {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.notice-board h3,
.quick-gallery h3 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    color: var(--color-dark);
    font-size: 1.3rem;
}

.notice-board h3 i,
.quick-gallery h3 i {
    color: var(--color-primary);
}

.notice-list {
    list-style: none;
}

.notice-list li {
    border-bottom: 1px solid var(--color-border);
    padding: 0.8rem 0;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: var(--color-dark);
    transition: color var(--duration-normal);
}

.notice-list a:hover {
    color: var(--color-primary);
}

.date {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: var(--space-md);
}

.gallery-preview img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* ---- Responsive Sections ---- */

/* Medium Desktop (1025px ~ 1280px) */
@media (max-width: 1280px) and (min-width: 1025px) {
    #hero {
        width: 80%;
        height: 65vh;
    }

    .slide-content {
        transform: translate(-50%, -65%);
        padding: var(--space-md) var(--space-xl);
        max-width: 600px;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1.05rem;
    }
}

/* Tablet (768px ~ 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    #hero {
        width: 85%;
        height: 60vh;
        margin: 60px auto 0;
    }

    .slide-content {
        transform: translate(-50%, -60%);
        padding: var(--space-md) var(--space-lg);
        max-width: 560px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #hero {
        width: 95%;
        height: 60vh;
        margin: 70px auto 0;
    }

    .slide-content h1 {
        font-size: var(--text-3xl);
    }

    .quick-info-bar {
        display: none;
    }

    .slide-content {
        bottom: auto;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .notice-gallery-section .container {
        grid-template-columns: 1fr;
    }

    .intro-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .intro-text {
        order: 2;
    }

    .intro-image {
        order: 1;
    }

    .intro-image img {
        width: 200px !important;
        height: 200px !important;
        object-fit: cover;
        border-radius: var(--radius-circle);
        border: 3px solid #5a5a5a;
        box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
        margin: 0 auto;
        display: block;
    }

    .intro-text h3 {
        font-size: 2.3rem;
        margin-bottom: var(--space-md);
    }

    .intro-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: var(--space-md);
        text-align: left;
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    #hero {
        width: 95%;
        height: 55vh;
    }

    .slide-content .cta-button {
        font-size: 10px;
    }

    .hero-controls {
        top: 40%;
        padding: 0px;
    }

    .intro-content {
        gap: var(--space-lg);
    }

    .intro-image img {
        width: 160px !important;
        height: 160px !important;
    }

    .intro-text h3 {
        font-size: 1.4rem;
    }

    .intro-text p {
        font-size: 0.9rem;
        line-height: var(--leading-normal);
    }

    .content-section {
        padding: var(--space-2xl) 0;
    }

    .slide-content h1 {
        font-size: var(--text-2xl);
    }

    .slide-content p {
        font-size: var(--text-base);
    }

    .content-section h2 {
        font-size: var(--text-3xl);
    }
}

/* ---- Notice Ticker ---- */
.notice-ticker {
    background: var(--color-primary-dark);
    padding: 0;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    height: 44px;
    gap: var(--space-md);
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: var(--weight-bold);
    color: var(--color-white);
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-item {
    position: absolute;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ticker-item.active {
    opacity: 1;
}

.ticker-item:hover {
    color: var(--color-white);
}

.ticker-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-left: 8px;
}

.ticker-more {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-more:hover {
    color: var(--color-white);
}

@media (max-width: 480px) {
    .ticker-more {
        display: none;
    }
}

/* ---- Page Header ---- */
.page-header {
    background: linear-gradient(135deg, #0277BD, #0288D1);
    padding: var(--space-3xl) 0 var(--space-2xl);
    margin-top: var(--header-height);
    color: var(--color-white);
    text-align: center;
}

.page-header h2 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    margin-bottom: 0;
}

/* ---- Breadcrumb ---- */
.breadcrumb ol {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.breadcrumb li::after {
    content: '>';
    margin-left: var(--space-sm);
    opacity: 0.6;
}

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-white);
}

.breadcrumb .active {
    color: var(--color-white);
    font-weight: 500;
}

/* ---- Pagination ---- */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: var(--space-2xl);
}

.pagination ul {
    list-style: none;
    display: flex;
    gap: var(--space-xs);
}

.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--color-dark);
    font-size: 0.9rem;
    transition: all var(--duration-normal);
}

.pagination li a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.pagination li.active a,
.pagination li.active span {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.pagination li.disabled span {
    color: var(--color-gray);
    cursor: not-allowed;
}

.pagination li.ellipsis span {
    border: none;
}

/* ---- Dropdown Menu ---- */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    min-width: 180px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
    z-index: 100;
    list-style: none;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 6px var(--space-lg);
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: background var(--duration-fast);
    white-space: nowrap;
}

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

.nav-links li:hover > .dropdown-menu {
    display: block;
}

/* ---- Teacher Grid ---- */
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.teacher-card {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    position: relative;
}

.teacher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #66BB6A, #42A5F5, #AB47BC, #FF7043);
    border-radius: 20px 20px 0 0;
}

.teacher-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.teacher-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.teacher-card .card-body {
    padding: var(--space-lg) var(--space-lg) var(--space-xl);
    position: relative;
}

.teacher-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.teacher-card .title {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: var(--space-md);
    display: inline-block;
    background: var(--color-secondary);
    padding: 3px 14px;
    border-radius: 12px;
}

.teacher-card .greeting {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    padding-top: var(--space-sm);
}

.teacher-card .greeting::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #66BB6A, #42A5F5);
    border-radius: 2px;
}

/* ---- Meal Table ---- */
.meal-week-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.meal-week-nav a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-dark);
    transition: all var(--duration-normal);
}

.meal-week-nav a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.meal-week-nav .current-week {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.meal-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.meal-table th,
.meal-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    border: 1px solid var(--color-border);
}

.meal-table thead th {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
}

.meal-table tbody th {
    background: var(--color-bg-light);
    font-weight: 600;
    color: var(--color-dark);
    min-width: 80px;
}

.meal-table td {
    font-size: 0.9rem;
    color: var(--color-dark);
    line-height: 1.6;
    min-width: 120px;
}

.meal-table td.empty {
    color: #ccc;
    font-style: italic;
}

/* ---- Event List ---- */
.event-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.event-item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-normal);
}

.event-item:hover {
    box-shadow: var(--shadow-md);
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 70px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
}

.event-date-badge .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge .month {
    font-size: 0.75rem;
    opacity: 0.9;
}

.event-info h4 {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: var(--space-xs);
}

.event-info p {
    color: #555;
    font-size: 0.9rem;
    line-height: var(--leading-relaxed);
}

.event-type-tag {
    display: inline-block;
    padding: 2px var(--space-sm);
    background: var(--color-bg-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.event-type-tag.field_trip { background: #E8F5E9; color: #2E7D32; }
.event-type-tag.parent { background: #FFF3E0; color: #E65100; }
.event-type-tag.holiday { background: #FFEBEE; color: #C62828; }
.event-type-tag.special { background: #F3E5F5; color: #6A1B9A; }
.event-type-tag.graduation { background: #D7CCC8; color: #5D4037; }

.event-month-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.event-month-nav a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-dark);
    transition: all var(--duration-normal);
}

.event-month-nav a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.event-month-nav .current-month {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

/* ---- Calendar Grid ---- */
.cal-grid {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.cal-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: linear-gradient(135deg, var(--color-primary), #29b6f6);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

.cal-header .cal-dow {
    padding: 10px 0;
}

.cal-header .cal-sun {
    color: #ffcdd2;
}

.cal-header .cal-sat {
    color: #bbdefb;
}

.cal-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid #f0f0f0;
}

.cal-row:last-child {
    border-bottom: none;
}

.cal-cell {
    min-height: 72px;
    padding: 6px 8px;
    position: relative;
    transition: background 0.15s;
    cursor: default;
}

.cal-cell:not(.cal-empty):hover {
    background: #f8fbff;
}

.cal-cell.cal-empty {
    background: #fafafa;
}

.cal-day {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 2px;
}

.cal-day.cal-sun {
    color: #e53935;
}

.cal-day.cal-sat {
    color: #1e88e5;
}

.cal-cell.cal-today {
    background: #e3f2fd;
}

.cal-cell.cal-today .cal-day {
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.cal-cell.cal-holiday {
    background: #fff5f5;
}

.cal-holiday-name {
    display: block;
    font-size: 0.6rem;
    color: #e53935;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-events {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.cal-ev-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.cal-ev-dot.general { background: var(--color-primary); }
.cal-ev-dot.field_trip { background: var(--color-accent); }
.cal-ev-dot.parent { background: #FF8A65; }
.cal-ev-dot.holiday { background: #e53935; }
.cal-ev-dot.special { background: #AB47BC; }
.cal-ev-dot.graduation { background: #8D6E63; }

.cal-cell.cal-has-event {
    cursor: pointer;
}

/* Calendar Legend */
.cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md) var(--space-lg);
    justify-content: center;
    margin-bottom: var(--space-xl);
    font-size: 0.8rem;
    color: var(--color-gray);
}

.cal-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cal-legend-holiday {
    width: 14px;
    height: 14px;
    background: #fff5f5;
    border: 1px solid #e53935;
    border-radius: 3px;
    display: inline-block;
}

/* Event list title */
.event-list-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary-light);
}

.event-list-title i {
    color: var(--color-primary);
    margin-right: 6px;
}

/* ---- Calendar Responsive ---- */
@media (max-width: 640px) {
    .cal-cell {
        min-height: 52px;
        padding: 4px;
    }

    .cal-day {
        font-size: 0.75rem;
    }

    .cal-holiday-name {
        font-size: 0.5rem;
    }

    .cal-ev-dot {
        width: 6px;
        height: 6px;
    }

    .cal-cell.cal-today .cal-day {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
}

/* ---- Notice List Page ---- */
.notice-list-page {
    margin-top: var(--space-xl);
}

.notice-list-page table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.notice-list-page th,
.notice-list-page td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.notice-list-page thead th {
    background: var(--color-bg-light);
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.9rem;
}

.notice-list-page td a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color var(--duration-normal);
}

.notice-list-page td a:hover {
    color: var(--color-primary);
}

.notice-list-page .pinned-icon {
    color: var(--color-secondary);
    margin-right: var(--space-xs);
}

.notice-list-page .date-col {
    color: var(--color-gray);
    font-size: 0.85rem;
    white-space: nowrap;
    width: 120px;
}

.notice-list-page .num-col {
    width: 60px;
    text-align: center;
    color: var(--color-gray);
}

/* ---- Notice Detail ---- */
.notice-detail {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: var(--space-xl);
}

.notice-detail .detail-header {
    padding: var(--space-xl) var(--space-2xl);
    border-bottom: 1px solid var(--color-border);
}

.notice-detail .detail-header h3 {
    font-size: 1.4rem;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.notice-detail .detail-meta {
    color: var(--color-gray);
    font-size: 0.85rem;
}

.notice-detail .detail-body {
    padding: var(--space-2xl);
    line-height: 1.9;
    color: #444;
    min-height: 200px;
    font-size: 1rem;
}

.notice-detail .detail-body p {
    margin-bottom: var(--space-md);
}

.notice-detail .detail-nav {
    display: flex;
    border-top: 1px solid var(--color-border);
}

.notice-detail .detail-nav a {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    text-decoration: none;
    color: var(--color-dark);
    font-size: 0.9rem;
    transition: background var(--duration-normal);
}

.notice-detail .detail-nav a:hover {
    background: var(--color-bg-light);
}

.notice-detail .detail-nav a:first-child {
    border-right: 1px solid var(--color-border);
}

.notice-detail .detail-nav .nav-label {
    color: var(--color-gray);
    font-size: 0.8rem;
}

.detail-actions {
    display: flex;
    justify-content: center;
    margin-top: var(--space-lg);
}

.btn-list {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-xl);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background var(--duration-normal);
}

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

/* ---- Class Filter Tabs ---- */
.class-filter-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.class-filter-tabs a {
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-dark);
    font-size: 0.9rem;
    transition: all var(--duration-normal);
}

.class-filter-tabs a:hover,
.class-filter-tabs a.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ---- Highlights Grid (Index Page) ---- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.highlight-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.highlight-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.highlight-card .card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.highlight-card .card-header h3 i {
    color: var(--color-primary);
}

.highlight-card .card-header a {
    color: var(--color-gray);
    font-size: 0.85rem;
    text-decoration: none;
}

.highlight-card .card-header a:hover {
    color: var(--color-primary);
}

.highlight-card .card-body {
    padding: var(--space-lg);
}

/* Today's Meal Card */
.today-meal-date {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px dashed var(--color-border);
}

.today-meal-date i {
    color: var(--color-primary);
    margin-right: 4px;
}

.today-meal-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: 6px 0;
}

.today-meal-item + .today-meal-item {
    border-top: 1px solid #f0f0f0;
}

.meal-type-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

.meal-type-breakfast { background: #FFF3E0; color: #E65100; }
.meal-type-lunch { background: #E8F5E9; color: #2E7D32; }
.meal-type-snack { background: #F3E5F5; color: #7B1FA2; }

.meal-menu {
    font-size: 0.85rem;
    color: var(--color-dark);
    line-height: 1.5;
}

.highlight-card .notice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.highlight-card .notice-item:last-child {
    border-bottom: none;
}

.highlight-card .notice-item a {
    color: var(--color-dark);
    text-decoration: none;
    font-size: 0.95rem;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.highlight-card .notice-item a:hover {
    color: var(--color-primary);
}

.highlight-card .notice-item .date {
    color: var(--color-gray);
    font-size: 0.8rem;
    margin-left: var(--space-md);
    white-space: nowrap;
}

.highlight-card .event-item-mini {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.highlight-card .event-item-mini:last-child {
    border-bottom: none;
}

.highlight-card .event-item-mini .date-badge {
    min-width: 45px;
    height: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    line-height: 1.2;
}

.highlight-card .event-item-mini .date-badge .day {
    font-size: 1.1rem;
    font-weight: 700;
}

.highlight-card .event-item-mini .event-title {
    color: var(--color-dark);
    font-size: 0.95rem;
}

.highlight-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.highlight-gallery a {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.highlight-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform var(--duration-normal);
}

.highlight-gallery img:hover {
    transform: scale(1.05);
}

/* ---- Responsive: New Pages ---- */
@media (max-width: 1025px) {
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--color-bg-light);
        display: none;
        padding: 0;
        border-radius: 0;
    }

    .dropdown-menu.mobile-open {
        display: block;
    }

    .dropdown-menu li {
        padding: 0;
        border-bottom: none;
    }

    .dropdown-menu a {
        color: #666;
        padding: 6px var(--space-2xl) 6px calc(var(--space-2xl) + 12px);
        font-size: 0.85rem;
        font-weight: 400;
    }

    .dropdown-menu a:hover {
        background: var(--color-border);
        color: var(--color-primary);
    }

    .nav-links li:hover > .dropdown-menu {
        display: none;
    }

    .nav-links li.has-dropdown:hover > .dropdown-menu.mobile-open {
        display: block;
    }
}

@media (max-width: 768px) {
    .teacher-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .meal-table {
        display: block;
        overflow-x: auto;
    }

    .event-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-date-badge {
        flex-direction: row;
        min-width: auto;
        height: auto;
        padding: var(--space-xs) var(--space-md);
        gap: var(--space-xs);
    }

    .notice-list-page .num-col {
        display: none;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .highlight-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight-gallery img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: var(--space-2xl) 0 var(--space-xl);
    }

    .page-header h2 {
        font-size: var(--text-3xl);
    }

    .teacher-grid {
        grid-template-columns: 1fr;
    }

    .class-filter-tabs {
        gap: var(--space-xs);
    }

    .class-filter-tabs a {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.8rem;
    }
}

/* ---- About Page ---- */
.about-hero {
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.about-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #2E7D32;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.about-hero-text h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-dark);
    line-height: 1.3;
    text-align: left;
    margin-bottom: 0;
}

.about-hero-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.about-hero-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: var(--space-md);
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.about-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.about-stat-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.75rem;
    color: var(--color-gray);
    font-weight: 500;
}

.about-hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.about-hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* About - Greeting */
.about-greeting {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #fff9f0 0%, #fff5f5 50%, #f0f8ff 100%);
    padding: var(--space-3xl) var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-greeting-icon {
    font-size: 2.5rem;
    color: var(--color-primary-light);
    margin-bottom: var(--space-md);
}

.about-greeting h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
}

.about-greeting-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 2;
    text-align: center;
}

.about-greeting-text p {
    margin-bottom: var(--space-md);
}

.about-greeting-sign {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.about-greeting-sign span {
    font-size: 0.85rem;
    color: var(--color-gray);
}

.about-greeting-sign strong {
    font-size: 1.2rem;
    color: var(--color-dark);
    font-weight: 700;
    font-family: 'Nanum Pen Script', cursive;
    position: relative;
}

/* About - Section titles */
.section-title-center {
    font-family: var(--font-accent);
    font-size: var(--text-4xl);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title-center::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #90CAF9, #CE93D8, #FFAB91);
    border-radius: 4px;
    margin: 12px auto 0;
    opacity: 0.7;
}

.section-title-center::before {
    content: '';
    display: block;
    width: 30px;
    height: 4px;
    background: linear-gradient(90deg, #FFAB91, #CE93D8, #90CAF9);
    border-radius: 4px;
    margin: 0 auto 8px;
    opacity: 0.5;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.6; transform: scale(1.2) rotate(15deg); }
}

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

.section-subtitle {
    text-align: center;
    color: #777;
    font-size: 1.05rem;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
    content: none;
}

/* About - Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: transparent;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 1.5rem;
}

.feature-emoji {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    line-height: 1;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-emoji {
    animation: bounce-icon 0.5s ease;
}

@keyframes bounce-icon {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
    50% { transform: translateY(-5px); }
    70% { transform: translateY(-8px); }
}

.feature-item.feature-safety {
    border-top: 4px solid #42A5F5;
}
.feature-item.feature-teacher {
    border-top: 4px solid #FF8A65;
}
.feature-item.feature-play {
    border-top: 4px solid #66BB6A;
}
.feature-item.feature-care {
    border-top: 4px solid #AB47BC;
}
.feature-item.feature-food {
    border-top: 4px solid #FFB300;
}
.feature-item.feature-comm {
    border-top: 4px solid #26C6DA;
}

.feature-item.feature-safety:hover { box-shadow: 0 12px 30px rgba(66, 165, 245, 0.2); }
.feature-item.feature-teacher:hover { box-shadow: 0 12px 30px rgba(255, 138, 101, 0.2); }
.feature-item.feature-play:hover { box-shadow: 0 12px 30px rgba(102, 187, 106, 0.2); }
.feature-item.feature-care:hover { box-shadow: 0 12px 30px rgba(171, 71, 188, 0.2); }
.feature-item.feature-food:hover { box-shadow: 0 12px 30px rgba(255, 179, 0, 0.2); }
.feature-item.feature-comm:hover { box-shadow: 0 12px 30px rgba(38, 198, 218, 0.2); }

.feature-item h4 {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.feature-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* About - Info tabs */
.info-tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #666;
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tab-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(79, 195, 247, 0.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--color-primary), #29b6f6);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

.tab-btn.active i {
    color: white !important;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* About - Info content */
.info-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
}

.info-content h4 {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(90deg, #66BB6A, #42A5F5, #AB47BC) border-box;
    border-bottom: 3px solid;
    position: relative;
}

.info-content h4::after {
    content: none;
}

.info-content ul {
    list-style: none;
    padding: 0;
}

.info-content ul li {
    padding: var(--space-sm) 0;
    color: #555;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.info-content ul li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Schedule table */
.schedule-table {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.schedule-row {
    display: flex;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
    margin-bottom: var(--space-xs);
}

.schedule-row:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(79, 195, 247, 0.15);
}

.time-label {
    font-weight: 600;
    color: var(--color-dark);
    min-width: 100px;
}

.time-value {
    color: #555;
    font-size: 0.95rem;
}

/* Meal features */
.meal-features h5 {
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

/* Download area */
.download-area {
    text-align: center;
}

.download-container {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xl);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    padding: var(--space-xl) var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid #ffe0e0;
    transition: all 0.3s ease;
}

.download-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #ffcdd2;
}

.download-icon {
    font-size: 2.5rem;
    color: #e53935;
    animation: gentle-float 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(229, 57, 53, 0.3));
}

.download-text h4 {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.download-info {
    font-size: 0.85rem;
    color: var(--color-gray);
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--duration-normal);
}

.download-button:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
}

/* About - Greeting deco */
.about-greeting-deco {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(255, 112, 67, 0.3));
    animation: gentle-float 3s ease-in-out infinite;
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* About - Daily Timeline */
.daily-timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding-left: 100px;
}

.daily-timeline::before {
    content: '';
    position: absolute;
    left: 88px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #FFD54F, #FF7043, #EC407A, #AB47BC, #42A5F5, #66BB6A);
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

.timeline-item {
    position: relative;
    padding: 0 0 var(--space-xl) var(--space-xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-time {
    position: absolute;
    left: -100px;
    top: 2px;
    width: 76px;
    text-align: right;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.timeline-dot {
    position: absolute;
    left: -8px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
        transform: scale(1.1);
    }
}

.timeline-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--color-primary-light);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: linear-gradient(135deg, #f0faf0 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
    transform: translateX(5px);
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* About page responsive */
@media (max-width: 768px) {
    .about-hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-hero-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-hero-desc {
        text-align: center;
    }

    .about-hero-stats {
        justify-content: center;
    }

    .about-hero-image img {
        height: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .download-container {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
        padding: var(--space-xl);
    }

    .about-badge {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-hero-text h2 {
        font-size: 1.6rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .daily-timeline {
        padding-left: 80px;
    }

    .daily-timeline::before {
        left: 68px;
    }

    .timeline-time {
        left: -80px;
        width: 60px;
        font-size: 0.85rem;
    }

    .section-subtitle::before,
    .section-subtitle::after {
        display: none;
    }

    .tab-btn {
        font-size: 0.85rem;
        padding: 10px 18px;
    }
}

/* ============================================
   Popup Modal
   ============================================ */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: popupFadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

.popup-overlay[data-position="left"] {
    justify-content: flex-start;
    align-items: flex-end;
    padding: 2rem;
}

.popup-overlay[data-position="right"] {
    justify-content: flex-end;
    align-items: flex-end;
    padding: 2rem;
}

@keyframes popupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-container {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    animation: popupSlideIn 0.3s ease;
}

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

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--color-primary, #4FC3F7);
    color: #fff;
}

.popup-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.popup-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.popup-close:hover {
    opacity: 1;
}

.popup-body {
    padding: 0;
}

.popup-image {
    width: 100%;
    display: block;
}

.popup-content {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
}

.popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.popup-today-hide {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
}

.popup-today-hide input[type="checkbox"] {
    accent-color: var(--color-primary, #4FC3F7);
}

.popup-close-btn {
    background: #e9ecef;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #495057;
    cursor: pointer;
    transition: background 0.2s;
    font-family: var(--font-primary);
}

.popup-close-btn:hover {
    background: #dee2e6;
}

@media (max-width: 768px) {
    .popup-overlay[data-position="left"],
    .popup-overlay[data-position="right"] {
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }

    .popup-container {
        width: 95%;
    }
}
