/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --info-color: #17a2b8;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    --gradient-secondary: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    --gradient-accent: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(52, 152, 219, 0.7) 0%, rgba(46, 204, 113, 0.7) 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: var(--white) !important;
    box-shadow: var(--shadow-light);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 0.3rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.3rem;
    padding: 0.5rem 0.8rem !important;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.navbar-toggler {
    border: none;
    padding: 0.2rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Jumbotron Hero Section - Enhanced */
.jumbotron-hero {
    background: 
        var(--gradient-hero),
        url('../../../public/img/SMK_Duta_Karya_original.JPG');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.jumbotron-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.jumbotron-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--light-bg), transparent);
    z-index: 2;
}

.jumbotron-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.jumbotron-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    letter-spacing: -1px;
}

.jumbotron-content .lead {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
    font-weight: 400;
    line-height: 1.4;
}

.jumbotron-content .school-info {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: var(--shadow-medium);
    animation: fadeInUp 1s ease-out 0.6s both;
    backdrop-filter: blur(10px);
}

.school-info h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.school-info p {
    font-size: clamp(0.9rem, 3vw, 1rem);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-align: left;
}

.school-info .address {
    font-weight: 600;
    color: var(--accent-color);
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
}

.jumbotron-content .badges {
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.jumbotron-content .badge {
    font-size: clamp(0.8rem, 2vw, 1rem);
    padding: 0.8rem 1.8rem;
    margin: 0.3rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
}

.badge.bg-primary {
    background: var(--gradient-primary) !important;
}

.badge.bg-success {
    background: var(--gradient-secondary) !important;
}

.badge.bg-warning {
    background: var(--gradient-accent) !important;
}

.btn-hero {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    display: inline-block;
    margin-top: 1.5rem;
    animation: fadeInUp 1s ease-out 1.2s both;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: var(--primary-color);
    background: var(--light-bg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About School Section */
.about-school {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-text p {
    font-size: clamp(1rem, 3vw, 1.1rem);
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.vision-mission {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.vision-mission h4 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 4vw, 1.3rem);
}

.vision-mission h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 1.5rem 0 0.8rem 0;
    font-size: clamp(1rem, 3vw, 1.1rem);
}

.vision-mission p,
.vision-mission ul {
    font-size: clamp(0.9rem, 3vw, 1rem);
    line-height: 1.7;
    color: #6c757d;
}

.vision-mission ul {
    padding-left: 1.5rem;
}

.vision-mission li {
    margin-bottom: 0.5rem;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.news-slider {
    margin-top: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all 0.4s ease;
    margin: 0 10px;
    height: 420px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 2px solid transparent;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--secondary-color);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: auto;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Search and Filter Styles */
.news-search-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.news-search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.1rem;
    pointer-events: none;
}

.news-search-input {
    width: 100%;
    padding: 15px 50px 15px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: var(--shadow-light);
}

.news-search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.2);
}

.search-clear-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.search-clear-btn:hover {
    color: var(--accent-color);
}

.news-filter-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-tag {
    padding: 0.5rem 1.2rem;
    border: 2px solid #e0e0e0;
    background: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.filter-tag.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--secondary-color);
}

.no-results-message {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.no-results-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results-message p {
    font-size: 1.1rem;
    margin: 0;
}

/* Swiper customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-color) !important;
    background: var(--white);
    border-radius: 50%;
    width: 45px !important;
    height: 45px !important;
    margin-top: -22px !important;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--secondary-color);
    color: var(--white) !important;
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: var(--secondary-color) !important;
    opacity: 0.5 !important;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 30px;
    border-radius: 5px;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Menu Grid - Enhanced Responsive */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.menu-item {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.menu-item:hover::before {
    left: 100%;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    text-decoration: none;
    color: inherit;
    border-color: var(--secondary-color);
}

.menu-icon {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-title {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.menu-description {
    color: #6c757d;
    font-size: clamp(0.9rem, 3vw, 1rem);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: clamp(1rem, 3vw, 1.2rem);
    opacity: 0.95;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.contact-icon {
    font-size: clamp(2.5rem, 6vw, 3rem);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.contact-title {
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.contact-detail {
    color: #6c757d;
    font-size: clamp(0.9rem, 3vw, 1rem);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    font-weight: 700;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
    font-size: clamp(0.9rem, 3vw, 1rem);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.8rem, 3vw, 0.9rem);
}

/* Quick Links */
.quick-links {
    background: var(--white);
    padding: 80px 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-link-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.quick-link-item:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
    border-color: var(--secondary-color);
}

.quick-link-icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}

.quick-link-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 3vw, 1.2rem);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.scroll-to-top.visible {
    display: flex;
}

/* Enhanced Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 350px;
    box-shadow: var(--shadow-heavy);
}

.notification.show {
    transform: translateX(0);
}

.notification.info {
    background: var(--gradient-primary);
}

.notification.success {
    background: var(--gradient-secondary);
}

.notification.warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.notification.error {
    background: var(--gradient-accent);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-content i {
    font-size: 1.2rem;
}

/* Responsive Design - Mobile First */
@media (max-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .jumbotron-hero {
        background-attachment: scroll;
    }
}

@media (max-width: 992px) {
    .jumbotron-hero {
        padding: 120px 0 80px;
        min-height: 80vh;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0;
        padding: 0.5rem 1rem !important;
    }
    
    .jumbotron-hero {
        padding: 100px 0 60px;
        min-height: 70vh;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .menu-item {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-filter-tags {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }
    
    .filter-tag {
        flex-shrink: 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .jumbotron-hero {
        padding: 80px 0 50px;
        min-height: 60vh;
    }
    
    .jumbotron-content .school-info {
        padding: 1rem 1.5rem;
        margin: 1.5rem auto;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .menu-item {
        padding: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .news-card {
        height: 380px;
        margin: 0 5px;
    }
    
    .news-content {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .jumbotron-content .badge {
        font-size: 0.7rem;
        padding: 0.6rem 1.2rem;
    }
    
    .menu-item {
        padding: 1rem;
    }
    
    .news-card {
        height: 350px;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .jumbotron-content .school-info {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .menu-item {
        padding: 0.8rem;
    }
    
    .btn-hero {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .jumbotron-content .school-info {
        padding: 0.6rem 0.8rem;
        margin: 1rem auto;
    }
}

/* Landscape orientation for small screens */
@media (max-height: 500px) and (orientation: landscape) {
    .jumbotron-hero {
        min-height: 100vh;
        padding: 60px 0 40px;
    }
    
    .jumbotron-content h1 {
        font-size: 2rem;
    }
    
    .jumbotron-content .lead {
        font-size: 1rem;
    }
    
    .jumbotron-content .school-info {
        display: none;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .jumbotron-hero {
        background: 
            var(--gradient-hero),
            url('../../../public/img/SMK_Duta_Karya_original.JPG');
    }
}

/* Print styles */
@media print {
    .navbar,
    .scroll-to-top,
    .jumbotron-hero,
    .stats-section,
    .footer,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
    
    .section {
        padding: 10px 0;
    }
    
    .menu-item,
    .contact-item,
    .quick-link-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title h2 {
        font-size: 18pt;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .menu-item,
    .contact-item,
    .quick-link-item,
    .news-card {
        border: 2px solid #000;
    }
}

/* Dark mode styles */
.dark-mode {
    --primary-color: #ecf0f1;
    --secondary-color: #3498db;
    --text-color: #ecf0f1;
    --light-bg: #2c3e50;
    --white: #34495e;
}

.dark-mode body {
    background-color: #2c3e50;
    color: #ecf0f1;
}

.dark-mode .navbar {
    background: #34495e !important;
}

.dark-mode .menu-item,
.dark-mode .contact-item,
.dark-mode .quick-link-item,
.dark-mode .news-card {
    background: #34495e;
    color: #ecf0f1;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
}

.loaded .loading {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* Pulse animation for menu items */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Custom cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.5);
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
}

/* Animation for filtered items */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.news-card.filtered-in {
    animation: fadeInScale 0.4s ease forwards;
}

/* Keyboard navigation styles */
.keyboard-navigation *:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
    border-radius: 4px;
}

.wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
}

.wa-float:hover {
    transform: scale(1.1);
    background-color: #1ebe5d;
}

@media (max-width: 480px) {
    .wa-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
}