/* ============================================
   HERO SLIDER TEXT STYLING - Modern & Accessible
   ============================================ */

/* CSS Custom Properties for Easy Theme Customization */
:root {
  /* Text Colors - WCAG AA Compliant */
  --slider-text-primary: #ffffff;
  --slider-text-accent: #FFB74D; /* Warm orange for elementary school vibe */
  --slider-text-glow: rgba(255, 183, 77, 0.5);
  
  /* Background overlays for contrast */
  --text-bg-dark: rgba(27, 27, 27, 0.85);
  --text-bg-gradient: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.75));
  
  /* Typography scale */
  --font-heading-xl: 60px;
  --font-heading-lg: 32px;
  --font-body-md: 18px;
}

/* Smart Gradient Overlay on Slider Images */
.slider-area .single-item.overlay.no-dark:before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.75) 100%
  ) !important;
}

/* Enhanced Slider Caption Container */
.slider-caption {
  /* position: relative; */
  z-index: 10;
}

/* Subtitle (h2) - Clean & Modern */
.slider-caption h2 {
  color: var(--slider-text-primary);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  
  /* Multi-layer text shadow for maximum readability */
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.2);
  
  /* Optional: Add backdrop filter for modern browsers */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  
  /* Smooth animation */
  animation: fadeInDown 0.8s ease-out;
}

/* Main Heading (h1) - Bold & Friendly */
.slider-caption h1 {
  color: var(--slider-text-primary);
  font-weight: 800;
  font-size: var(--font-heading-xl);
  line-height: 1.15;
  margin-bottom: 25px;
  
  /* Enhanced multi-layer shadow for depth */
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 16px 32px rgba(0, 0, 0, 0.2);
  
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
  animation: fadeInUp 1s ease-out;
}

/* Accent Color in Heading - Warm & Vibrant */
.slider-caption h1 span.theme-color {
  color: var(--slider-text-accent) !important;
  font-weight: 900;
  
  /* Glowing effect for emphasis */
  /* text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.6),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 30px var(--slider-text-glow),
    0 0 50px var(--slider-text-glow); */
  
  /* filter: drop-shadow(0 6px 20px rgba(255, 183, 77, 0.4)); */
}

/* Description Text - Enhanced with Backdrop Filter */
.slider-caption p {
  color: var(--slider-text-primary);
  font-size: var(--font-body-md);
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 40px;
  
  /* Enhanced text shadow */
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.4),
    0 3px 8px rgba(0, 0, 0, 0.5),
    0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Special Text Background Box - Modern Glass Effect */
.special-txt-bg {
  display: inline;
  padding: 10px 16px;
  line-height: 2.2 !important;
  border-radius: 8px;
  font-size: var(--font-body-md);
  font-weight: 500;
  letter-spacing: 0.3px;
  
  /* Modern glassmorphism effect */
  background: rgba(27, 27, 27, 0.75);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  
  /* Subtle border for depth */
  border: 1px solid rgba(255, 255, 255, 0.1);
  
  /* Enhanced shadow */
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  
  /* Smooth transition */
  transition: all 0.3s ease;
}

/* Hover effect for text box (optional enhancement) */
.special-txt-bg:hover {
  background: rgba(27, 27, 27, 0.85);
  transform: translateY(-1px);
  box-shadow: 
    0 6px 16px rgba(0, 0, 0, 0.5),
    0 12px 32px rgba(0, 0, 0, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN - Mobile Optimized
   ============================================ */

/* Tablet Devices */
@media (max-width: 992px) {
  :root {
    --font-heading-xl: 48px;
    --font-heading-lg: 26px;
    --font-body-md: 16px;
  }
  
  .slider-caption h2 {
    font-size: 20px;
    letter-spacing: 2px;
  }
  
  .slider-caption h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .special-txt-bg {
    padding: 8px 14px;
    font-size: 16px;
    line-height: 2 !important;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  :root {
    --font-heading-xl: 36px;
    --font-heading-lg: 22px;
    --font-body-md: 15px;
  }
  
  .slider-caption h2 {
    font-size: 18px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }
  
  .slider-caption h1 {
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .slider-caption p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
  }
  
  .special-txt-bg {
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.9 !important;
    border-radius: 6px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  :root {
    --font-heading-xl: 28px;
    --font-heading-lg: 18px;
    --font-body-md: 14px;
  }
  
  .slider-caption h2 {
    font-size: 16px;
    letter-spacing: 1px;
  }
  
  .slider-caption h1 {
    font-size: 28px;
    margin-bottom: 12px;
  }
  
  .slider-caption p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .special-txt-bg {
    padding: 5px 10px;
    font-size: 13px;
  }
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Ensure text remains readable for users with reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .slider-caption h2,
  .slider-caption h1,
  .slider-caption p,
  .special-txt-bg {
    animation: none;
    transition: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .slider-caption h2,
  .slider-caption h1,
  .slider-caption p {
    text-shadow: 
      0 0 2px #000,
      0 0 4px #000,
      0 2px 8px #000;
  }
  
  .special-txt-bg {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #fff;
  }
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */

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

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

/* ============================================
   CALL-TO-ACTION BUTTONS - Enhanced Design
   ============================================ */

/* Primary Button - Modern & Vibrant */
.btn-main-color {
  background: linear-gradient(135deg, #00ACC1 0%, #0097A7 100%) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 40px !important;
  border-radius: 50px;
  border: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  
  /* Enhanced shadow with glow effect */
  box-shadow: 
    0 4px 15px rgba(0, 172, 193, 0.4),
    0 8px 30px rgba(0, 172, 193, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  
  /* Smooth transitions */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Button hover state */
.btn-main-color:hover {
  background: linear-gradient(135deg, #0097A7 0%, #00838F 100%) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 6px 20px rgba(0, 172, 193, 0.5),
    0 12px 40px rgba(0, 172, 193, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Button active/pressed state */
.btn-main-color:active {
  transform: translateY(-1px) scale(1);
  box-shadow: 
    0 2px 10px rgba(0, 172, 193, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Button ripple effect (optional enhancement) */
.btn-main-color::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-main-color:hover::before {
  width: 300px;
  height: 300px;
}

/* Enhanced Fun Facts Section */
.fun-facts-area .counter-func h1 {
  font-size: 72px;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1;
}

.fun-facts-area .counter-func h1 .counter {
  color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  font-family: 'Montserrat', sans-serif;
}

.fun-facts-area .counter-func h5 {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.4;
}

.fun-facts-area .counter-func .icon-circle {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.fun-facts-area .counter-func .icon-circle i {
  font-size: 36px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.fun-facts-area .counter-func:hover .icon-circle {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1) rotate(360deg);
}

.fun-facts-area .counter-func:hover .icon-circle i {
  transform: scale(1.1);
}

.fun-facts-area .counter-func {
  padding: 20px;
  transition: all 0.3s ease;
}

.fun-facts-area .counter-func:hover {
  transform: translateY(-5px);
}

/*Instagram*/
/* Main container */
/* Instagram Embed Base Styles */
.instagram-media {
  background: #FFF;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5), 0 1px 10px 0 rgba(0, 0, 0, 0.15);
  margin: 1px;
  max-width: 540px;
  min-width: 326px;
  padding: 0;
  width: 99.375%;
  width: -webkit-calc(100% - 2px);
  width: calc(100% - 2px);
}

/* Container Padding */
.instagram-media>div {
  padding: 16px;
}

/* Link Styles */
.instagram-media a {
  background: #FFFFFF;
  line-height: 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
  width: 100%;
  display: block;
}

/* Header Area (User info) */
.instagram-media .ig-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
}

/* Avatar Placeholder */
.instagram-media .ig-avatar {
  background-color: #F4F4F4;
  border-radius: 50%;
  flex-grow: 0;
  height: 40px;
  margin-right: 14px;
  width: 40px;
}

/* User Text Placeholder */
.instagram-media .ig-usertext {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
}

.instagram-media .ig-username,
.instagram-media .ig-usermeta {
  background-color: #F4F4F4;
  border-radius: 4px;
  flex-grow: 0;
  height: 14px;
}

.instagram-media .ig-username {
  margin-bottom: 6px;
  width: 100px;
}

.instagram-media .ig-usermeta {
  width: 60px;
}

/* Content Placeholder */
.instagram-media .ig-content {
  padding: 19% 0;
  position: relative;
}

/* Instagram Logo */
.instagram-media .ig-logo {
  display: block;
  height: 50px;
  margin: 0 auto 12px;
  width: 50px;
}

/* "View on Instagram" Text */
.instagram-media .ig-viewtext {
  color: #3897f0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 550;
  line-height: 18px;
  text-align: center;
}

/* Loading Animation */
.instagram-media .ig-loader {
  display: flex;
  flex-direction: row;
  margin-bottom: 14px;
  align-items: center;
}

.instagram-media .ig-loader-dots {
  display: flex;
}

.instagram-media .ig-loader-dot {
  background-color: #F4F4F4;
  border-radius: 50%;
  height: 12.5px;
  width: 12.5px;
}

/* Caption Area */
.instagram-media .ig-caption {
  color: #c9c8cd;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 17px;
  margin-bottom: 0;
  margin-top: 8px;
  overflow: hidden;
  padding: 8px 0 7px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.instagram-media .ig-caption a {
  color: #c9c8cd;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  line-height: 17px;
  text-decoration: none;
  display: inline;
  width: auto;
}

/* Responsive Adjustments */
@media (max-width: 400px) {
  .instagram-media {
    min-width: 100%;
  }
}

.instagram-media .Header {
  display: none !important;
}

/* News Slider Styles */
.news-slider {
  position: relative;
  margin: 0 -10px;
}

.news-slider .slick-slide {
  padding: 10px;
  height: auto;
  margin: 10px;
}

.news-slider .slick-slide>div {
  height: 100%;
}

.news-box {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-box:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}

.news-box .thumb {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

.news-box .thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.news-box:hover .thumb img {
  transform: scale(1.08);
}

.news-box .news-content {
  padding: 25px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-box .news-content .date-comment {
  margin-bottom: 12px;
}

.news-box .news-content .date-comment h6 {
  font-size: 12px;
  color: #999;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.news-box .date-comment i {
  margin-right: 6px;
  color: #ff6b35;
  font-size: 14px;
}

.news-box .news-content h4 {
  font-size: 16px;
  line-height: 1.5;
  min-height: 48px;
  transition: color 0.3s ease;
  margin-bottom: 12px;
  font-weight: 700;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.news-box .news-content h4:hover {
  color: #ff6b35;
}

.news-box .news-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-box .read-more {
  color: #ff6b35;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.news-box .read-more i {
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.news-box .read-more:hover {
  color: #e55a25;
}

.news-box .read-more:hover i {
  margin-left: 10px;
}

margin-right: 5px;
}

/* Slick Arrows */
.news-slider .slick-prev,
.news-slider .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: #ff6b35;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.news-slider .slick-prev:hover,
.news-slider .slick-next:hover {
  background: #e55a25;
}

.news-slider .slick-prev {
  left: -50px;
}

.news-slider .slick-next {
  right: -50px;
}

.news-slider .slick-prev i,
.news-slider .slick-next i {
  line-height: 1;
}

/* Slick Dots */
.news-slider .slick-dots {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
}

.news-slider .slick-dots li {
  margin: 0 5px;
}

.news-slider .slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  padding: 0;
  font-size: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-slider .slick-dots li.slick-active button {
  background: #ff6b35;
  width: 30px;
  border-radius: 6px;
}

/* Responsive adjustments for arrows */
@media (max-width: 1200px) {
  .news-slider .slick-prev {
    left: 0;
  }

  .news-slider .slick-next {
    right: 0;
  }
}

@media (max-width: 768px) {

  .news-slider .slick-prev,
  .news-slider .slick-next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .news-box .news-content h4 {
    font-size: 16px;
    min-height: auto;
  }

  .news-box .news-content p {
    min-height: auto;
  }
}

.sambutan-box h6{
  color: #585858;
  font-size: 14px;
}

.sambutan-thumbnail {
  border: 1px solid #ececec;
  border-radius: 50%;
  margin-top: 9px;
  width: 96px;
}

/* Fix Sambutan Image Layout */
.course-box.list-view .thumb {
  max-width: 400px;
  width: 100%;
  flex-shrink: 0;
  align-self: stretch;
}

.course-box.list-view .thumb img {
  width: 100%;
  height: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 8px;
}

.course-box.list-view {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.course-box.list-view .course-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  .course-box.list-view {
    flex-direction: column;
  }
  
  .course-box.list-view .thumb {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Teachers Slider Styling */
.teachers-slider {
  margin: 0 -10px;
}

.teacher-box {
  margin: 0 10px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.teacher-box:hover {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.teacher-box .thumb {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.teacher-box .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.teacher-box:hover .thumb img {
  transform: scale(1.1);
}

.teacher-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(23, 162, 184, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.teacher-box:hover .overlay {
  opacity: 1;
}

.teacher-social {
  display: flex;
  gap: 15px;
}

.teacher-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
}

.teacher-social a:hover {
  background: #fff;
  color: #17A2B8;
  transform: scale(1.1);
}

.teacher-content {
  padding: 20px;
  text-align: center;
}

.teacher-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.teacher-position {
  font-size: 14px;
  color: #17A2B8;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.teacher-info {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Teachers Slider Navigation */
.teachers-slider .slick-prev,
.teachers-slider .slick-next {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  z-index: 10;
  width: 45px;
  height: 45px;
  background: rgba(23, 162, 184, 0.9);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teachers-slider .slick-prev {
  left: -55px;
}

.teachers-slider .slick-next {
  right: -55px;
}

.teachers-slider .slick-prev:hover,
.teachers-slider .slick-next:hover {
  background: #17A2B8;
  transform: translateY(-50%) scale(1.1);
}

.teachers-slider .slick-dots {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
}

.teachers-slider .slick-dots li {
  margin: 0 5px;
}

.teachers-slider .slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  padding: 0;
  font-size: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.teachers-slider .slick-dots li.slick-active button {
  background: #17A2B8;
  width: 30px;
  border-radius: 6px;
}

@media (max-width: 1200px) {
  .teachers-slider .slick-prev {
    left: 0;
  }
  
  .teachers-slider .slick-next {
    right: 0;
  }
}

@media (max-width: 768px) {
  .teachers-slider .slick-prev,
  .teachers-slider .slick-next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .teacher-box .thumb {
    height: 250px;
  }
}

/* Venobox Image Size Control */
.vbox-content img {
  max-width: 90vw !important;
  max-height: 90vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.vbox-inline,
.vbox-content {
  max-width: 90vw !important;
  max-height: 90vh !important;
}


/* Old Event Card Styles - Keep for other sections if needed */
.event-card {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #17A2B8, #FFC107);
}

.event-date {
  display: inline-block;
  background: linear-gradient(135deg, #17A2B8, #0d8ba3);
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(23, 162, 184, 0.3);
}

.event-date .day {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 1px;
}

.event-content h4 {
  color: #333;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.event-content .event-time {
  color: #17A2B8;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 500;
}

.event-content .event-time i {
  margin-right: 5px;
}

.event-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* ===================================
   FASILITAS SECTION
=================================== */
.facilities-area {
  background: #fff;
}

.facility-box {
  background: #f9f9f9;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-height: 280px;
}

.facility-box:hover {
  background: #fff;
  border-color: #17A2B8;
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(23, 162, 184, 0.15);
}

.facility-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #17A2B8, #0d8ba3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.facility-box:hover .facility-icon {
  background: linear-gradient(135deg, #FFC107, #ff9800);
  transform: rotateY(360deg);
}

.facility-icon i {
  font-size: 36px;
  color: #fff;
}

.facility-box h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

.facility-box p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* ===================================
   TESTIMONI SECTION
=================================== */
.testimonial-area {
  background: linear-gradient(135deg, #17A2B8, #0d8ba3);
  position: relative;
  overflow: hidden;
}

.testimonial-area::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.testimonial-area::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.testimonial-box {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin: 0 15px;
  position: relative;
  min-height: 380px;
}

.quote-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #FFC107, #ff9800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.quote-icon i {
  font-size: 28px;
  color: #fff;
}

.testimonial-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 2px solid #f0f0f0;
}

.author-thumb {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  border: 3px solid #17A2B8;
}

.author-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h5 {
  color: #333;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 600;
}

.author-info span {
  color: #777;
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}

.author-info .rating {
  color: #FFC107;
  font-size: 14px;
}

/* ===================================
   CTA PENDAFTARAN SECTION
=================================== */
.bg-gradient-teal {
  background: linear-gradient(135deg, #17A2B8 0%, #0d8ba3 50%, #17A2B8 100%);
  position: relative;
  overflow: hidden;
}

.bg-gradient-teal::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.bg-gradient-teal::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

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

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 193, 7, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #FFC107;
}

.cta-icon i {
  font-size: 50px;
  color: #FFC107;
}

.cta-features {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.feature-item {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.feature-item i {
  font-size: 20px;
  margin-right: 10px;
  color: #FFC107;
}

.btn-cta-primary {
  background: #FFC107;
  color: #333 !important;
  padding: 18px 45px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
  transition: all 0.3s ease;
  margin: 0 10px 10px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta-primary:hover {
  background: #ff9800;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 152, 0, 0.5);
  color: #fff !important;
}

.btn-cta-secondary {
  background: transparent;
  color: #fff !important;
  padding: 18px 45px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  border: 3px solid #fff;
  transition: all 0.3s ease;
  margin: 0 10px 10px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta-secondary:hover {
  background: #fff;
  color: #17A2B8 !important;
  transform: translateY(-3px);
}

.cta-info p {
  font-size: 15px;
  margin-bottom: 8px;
}

.cta-info i {
  margin-right: 8px;
  color: #FFC107;
}

/* ===================================
   KONTAK & PETA SECTION
=================================== */
.contact-area {
  background: #fff;
}

.contact-info-box {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 15px;
  height: 100%;
}

.contact-info-box h3 {
  color: #333;
  font-weight: 600;
  border-bottom: 3px solid #17A2B8;
  padding-bottom: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #17A2B8, #0d8ba3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 22px;
  color: #fff;
}

.contact-text h5 {
  color: #333;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.contact-text p {
  color: #666;
  font-size: 14px;
  margin-bottom: 5px;
  line-height: 1.6;
}

.map-container {
  background: #f9f9f9;
  padding: 8px;
  border-radius: 15px;
  height: 100%;
}

.map-container h3 {
  color: #333;
  font-weight: 600;
  border-bottom: 3px solid #17A2B8;
  padding-bottom: 15px;
}

.map-responsive iframe {
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-info {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #17A2B8;
}

.map-info p {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.map-info i {
  color: #17A2B8;
  margin-right: 10px;
  font-size: 16px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .event-card {
    min-height: auto;
  }
  
  .facility-box {
    min-height: auto;
    margin-bottom: 20px;
  }
  
  .testimonial-box {
    min-height: auto;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    display: block;
    margin: 10px auto;
  }
  
  .contact-info-box,
  .map-container {
    margin-bottom: 30px;
  }
}


.bg-img-visi-misi{
	background-image: url("assets/img/banner-visi-misi.jpg") ;
}

/* ===================================
   Guru Page Styles (guru.html)
   =================================== */

/* Logo */
.logo-img {
  max-height: 60px;
}

/* Page Title/Header Gradient */
.bg-page-title {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
}

.bg-page-title2 {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
}

.page-title-area {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bg-page-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
  opacity: 0.5;
}

.page-title-area .container {
  position: relative;
  z-index: 1;
}

.page-title-area h1 {
  color: white;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
}

.page-title-area p {
  color: rgba(255,255,255,0.95);
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Teacher Cards */
.teacher-detail-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.teacher-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.teacher-detail-card .thumb {
  position: relative;
  overflow: hidden;
  height: 280px;
}

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

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

.teacher-detail-card .teacher-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.teacher-detail-card h4 {
  color: #2c3e50;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.teacher-detail-card .teacher-position {
  color: #667eea;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.teacher-detail-card .teacher-info {
  color: #7f8c8d;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.teacher-advice {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 15px;
  border-radius: 8px;
  margin-top: auto;
  border-left: 4px solid #667eea;
}

.teacher-advice h6 {
  color: #2c3e50;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.teacher-advice p {
  color: #34495e;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

/* Stats Badges */
.stats-badge {
  display: inline-block;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin: 5px;
}

/* Section Intro */
.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-intro p {
  font-size: 17px;
  line-height: 1.8;
  color: #7f8c8d;
}

/* Grid Layout */
.teachers-grid {
  margin: 0 -15px;
}

.teacher-col {
  padding: 0 15px;
  margin-bottom: 30px;
  display: flex;
}

/* CTA Stats Section */
.cta-stats-section {
  background: linear-gradient(135deg, #00A79D 0%, #00d4d4 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-stats-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
}

.cta-stats-container {
  position: relative;
  z-index: 1;
}

.cta-stats-header {
  margin-bottom: 50px;
}

.cta-stats-title {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-stats-quote {
  color: rgba(255,255,255,0.95);
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-stats-author {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  font-style: italic;
  margin-bottom: 0;
}

/* Stats Cards Row */
.stats-row {
  margin-bottom: 50px;
}

.stat-col {
  margin-bottom: 30px;
}

.stat-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 48px;
  color: white;
  margin-bottom: 15px;
}

.stat-number {
  color: white;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin: 0;
}

/* CTA Box */
.cta-box {
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box-title {
  color: #00A79D;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-box-text {
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.cta-btn-primary {
  display: inline-block;
  background: #00A79D;
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,167,157,0.3);
}

.cta-btn-primary:hover {
  background: #008c83;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,167,157,0.4);
  color: white;
  text-decoration: none;
}

.cta-btn-secondary {
  display: inline-block;
  background: white;
  color: #00A79D;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #00A79D;
  transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
  background: #00A79D;
  color: white;
  text-decoration: none;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .page-title-area {
    padding: 60px 0 50px;
  }
  
  .page-title-area h1 {
    font-size: 28px;
  }
  
  .page-title-area p {
    font-size: 16px;
  }
  
  .teacher-col {
    margin-bottom: 25px;
  }
  
  .teacher-detail-card .thumb {
    height: 320px;
  }
}

/* Clear floats every 3 items on desktop */
@media (min-width: 992px) {
  .teacher-col:nth-child(3n+1) {
    clear: left;
  }
}

/* Clear floats every 2 items on tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .teacher-col:nth-child(2n+1) {
    clear: left;
  }
}

/* ========================================
   PRESTASI (ACHIEVEMENT) SECTION STYLES
   ======================================== */

/* Section Spacing */
.prestasi-section {
  background: #f8f9fa;
}

/* Section Title */
.section-title {
  margin-bottom: 50px;
}

.section-title .title-heading {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title .title-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00A896, #00ACC1);
  border-radius: 2px;
}

.section-title .section-subtitle {
  font-size: 16px;
  color: #666;
  margin-top: 20px;
  line-height: 1.6;
}

/* Achievement Card */
.prestasi-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.prestasi-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Image Container */
.prestasi-card-thumb {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f0f0f0;
}

.prestasi-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.prestasi-card:hover .prestasi-card-thumb img {
  transform: scale(1.08);
}

/* Overlay with Year Badge */
.prestasi-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 15px;
}

.prestasi-year {
  background: #00A896;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Card Content */
.prestasi-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.prestasi-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.4;
  min-height: 56px;
}

.prestasi-title:hover {
  color: #00A896;
}

/* Meta Information */
.prestasi-meta {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.prestasi-meta p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.prestasi-meta p:last-child {
  margin-bottom: 0;
}

.prestasi-meta i {
  font-size: 16px;
  color: #00A896;
  margin-right: 8px;
  flex-shrink: 0;
}

.prestasi-participant {
  font-weight: 600;
}

/* Description */
.prestasi-description {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Call to Action Section */
.prestasi-cta {
  background: linear-gradient(135deg, #00A896 0%, #00ACC1 100%);
  padding: 50px 30px;
  border-radius: 12px;
  color: #fff;
  text-align: center;
}

.prestasi-cta h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.prestasi-cta p {
  font-size: 16px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.prestasi-cta .btn-primary {
  background: #fff;
  color: #00A896;
  padding: 12px 35px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.prestasi-cta .btn-primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .section-title .title-heading {
    font-size: 32px;
  }
  
  .prestasi-card-thumb {
    height: 250px;
  }
  
  .prestasi-title {
    font-size: 18px;
    min-height: auto;
  }
  
  .prestasi-cta h3 {
    font-size: 24px;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .prestasi-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title .title-heading {
    font-size: 28px;
  }
  
  .section-title .section-subtitle {
    font-size: 15px;
  }
  
  .prestasi-card {
    margin-bottom: 20px;
  }
  
  .prestasi-card-thumb {
    height: 220px;
  }
  
  .prestasi-card-content {
    padding: 20px;
  }
  
  .prestasi-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .prestasi-meta p {
    font-size: 13px;
  }
  
  .prestasi-description {
    font-size: 13px;
  }
  
  .prestasi-cta {
    padding: 40px 20px;
  }
  
  .prestasi-cta h3 {
    font-size: 22px;
  }
  
  .prestasi-cta p {
    font-size: 15px;
  }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .section-title .title-heading {
    font-size: 24px;
  }
  
  .prestasi-card-thumb {
    height: 200px;
  }
  
  .prestasi-title {
    font-size: 17px;
  }
  
  .prestasi-year {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .prestasi-cta h3 {
    font-size: 20px;
  }
  
  .prestasi-cta .btn-primary {
    padding: 10px 25px;
    font-size: 15px;
  }
}

/* Accessibility Enhancements */
.prestasi-card:focus-within {
  outline: 2px solid #00A896;
  outline-offset: 2px;
}

.prestasi-card a:focus,
.prestasi-cta .btn-primary:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .prestasi-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .prestasi-cta {
    display: none;
  }
}

/* ========================================
   PRESTASI FILTER SYSTEM STYLES
   ======================================== */

/* Filter Wrapper */
.prestasi-filter-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Filter Toggle Button */
.filter-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.filter-toggle-btn:hover {
  background: linear-gradient(135deg, #00A896 0%, #00ACC1 100%);
  border-color: #00A896;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.15);
}

.filter-toggle-btn:hover .filter-toggle-icon i,
.filter-toggle-btn:hover .filter-toggle-text,
.filter-toggle-btn:hover .filter-toggle-chevron i {
  color: #fff;
}

.filter-toggle-btn.active {
  background: linear-gradient(135deg, #00A896 0%, #00ACC1 100%);
  border-color: #00A896;
  box-shadow: 0 4px 15px rgba(0, 168, 150, 0.2);
}

.filter-toggle-btn.active .filter-toggle-icon i,
.filter-toggle-btn.active .filter-toggle-text,
.filter-toggle-btn.active .filter-toggle-chevron i {
  color: #fff;
}

.filter-toggle-btn:focus {
  outline: 2px solid #00A896;
  outline-offset: 2px;
}

.filter-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(0, 168, 150, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
}

.filter-toggle-icon i {
  font-size: 24px;
  color: #00A896;
  transition: color 0.3s ease;
}

.filter-toggle-text {
  flex: 1;
  text-align: left;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-toggle-text strong {
  font-size: 16px;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.filter-toggle-text small {
  font-size: 13px;
  color: #666;
  transition: color 0.3s ease;
}

.filter-toggle-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.filter-toggle-chevron i {
  font-size: 22px;
  color: #666;
  transition: all 0.3s ease;
}

/* Collapsible Panel */
#filterPanel {
  margin-top: 25px;
}

#filterPanel.collapsing {
  transition: height 0.35s ease;
}

/* Search Box */
.filter-search-box {
  margin-bottom: 30px;
}

.search-input-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-input-wrapper i.ti-search {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 20px;
  pointer-events: none;
  z-index: 1;
}

.search-input-wrapper .form-control {
  padding: 15px 50px 15px 55px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 15px;
  transition: all 0.3s ease;
  height: 55px;
}

.search-input-wrapper .form-control:focus {
  border-color: #00A896;
  box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.1);
  outline: none;
}

.clear-search {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #f0f0f0;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.clear-search:hover {
  background: #e0e0e0;
}

.clear-search i {
  font-size: 16px;
  color: #666;
}

/* Filter Controls */
.filter-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  min-width: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.filter-label i {
  font-size: 18px;
  color: #00A896;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #666;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: #00A896;
  color: #00A896;
  background: rgba(0, 168, 150, 0.05);
}

.filter-btn.active {
  background: #00A896;
  color: #fff;
  border-color: #00A896;
}

.filter-btn:focus {
  outline: 2px solid #00A896;
  outline-offset: 2px;
}

/* Sort Select */
.sort-select {
  max-width: 200px;
  padding: 8px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  height: auto;
}

.sort-select:focus {
  border-color: #00A896;
  box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.1);
  outline: none;
}

/* Filter Status Bar */
.filter-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
  gap: 15px;
}

.results-count {
  font-size: 14px;
  color: #666;
}

.results-count strong {
  color: #00A896;
  font-weight: 700;
  font-size: 16px;
}

.btn-reset-filters {
  padding: 8px 20px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-reset-filters:hover {
  background: #00A896;
  color: #fff;
  border-color: #00A896;
}

.btn-reset-filters i {
  font-size: 16px;
}

/* No Results Message */
.no-results-message {
  text-align: center;
  padding: 80px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-top: 20px;
}

.no-results-message i {
  font-size: 80px;
  color: #d0d0d0;
  margin-bottom: 20px;
}

.no-results-message h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.no-results-message p {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
}

.no-results-message .btn {
  margin-top: 10px;
}

/* Animation for items */
.prestasi-item {
  animation: fadeIn 0.3s ease;
}

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

/* Responsive Filter Styles */

/* Tablet */
@media (max-width: 991px) {
  .prestasi-filter-wrapper {
    padding: 25px 20px;
  }
  
  .filter-toggle-btn {
    padding: 16px 20px;
  }
  
  .filter-toggle-icon {
    width: 40px;
    height: 40px;
  }
  
  .filter-toggle-icon i {
    font-size: 22px;
  }
  
  .filter-toggle-text {
    padding: 0 15px;
  }
  
  .filter-toggle-text strong {
    font-size: 15px;
  }
  
  .filter-toggle-text small {
    font-size: 12px;
  }
  
  #filterPanel {
    margin-top: 20px;
  }
  
  .filter-group {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .filter-label {
    min-width: auto;
    width: 100%;
    margin-bottom: 8px;
  }
  
  .filter-buttons {
    width: 100%;
  }
  
  .sort-select {
    max-width: 100%;
    width: 100%;
  }
  
  .filter-status {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-reset-filters {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .prestasi-filter-wrapper {
    padding: 20px 15px;
    margin-bottom: 30px;
  }
  
  .filter-toggle-btn {
    padding: 14px 16px;
  }
  
  .filter-toggle-icon {
    width: 38px;
    height: 38px;
  }
  
  .filter-toggle-icon i {
    font-size: 20px;
  }
  
  .filter-toggle-text {
    padding: 0 12px;
  }
  
  .filter-toggle-text strong {
    font-size: 14px;
  }
  
  .filter-toggle-text small {
    font-size: 11px;
  }
  
  .filter-toggle-chevron i {
    font-size: 20px;
  }
  
  #filterPanel {
    margin-top: 18px;
  }
  
  .filter-search-box {
    margin-bottom: 25px;
  }
  
  .search-input-wrapper .form-control {
    padding: 12px 45px 12px 45px;
    font-size: 14px;
    height: 48px;
  }
  
  .search-input-wrapper i.ti-search {
    left: 15px;
    font-size: 18px;
  }
  
  .filter-controls {
    gap: 18px;
  }
  
  .filter-label {
    font-size: 13px;
  }
  
  .filter-btn {
    padding: 7px 16px;
    font-size: 13px;
  }
  
  .sort-select {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .results-count {
    font-size: 13px;
  }
  
  .results-count strong {
    font-size: 15px;
  }
  
  .btn-reset-filters {
    font-size: 13px;
    padding: 8px 16px;
  }
  
  .no-results-message {
    padding: 60px 15px;
  }
  
  .no-results-message i {
    font-size: 60px;
  }
  
  .no-results-message h3 {
    font-size: 20px;
  }
  
  .no-results-message p {
    font-size: 14px;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .filter-toggle-btn {
    padding: 12px 14px;
  }
  
  .filter-toggle-icon {
    width: 36px;
    height: 36px;
  }
  
  .filter-toggle-icon i {
    font-size: 18px;
  }
  
  .filter-toggle-text strong {
    font-size: 13px;
  }
  
  .filter-toggle-text small {
    display: none;
  }
  
  .filter-btn {
    padding: 6px 14px;
    font-size: 12px;
  }
  
  .filter-label {
    font-size: 12px;
  }
  
  .search-input-wrapper .form-control {
    font-size: 13px;
    padding: 10px 40px 10px 40px;
    height: 44px;
  }
}
