/* Floating animation for background pattern */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Enhanced Welcome Section Styling */
.ts-features {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}

.ts-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.ts-features::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transform: rotate(45deg);
  animation: float 6s ease-in-out infinite;
}

.ts-features .container {
  position: relative;
  z-index: 2;
}

/* Welcome Section Title Enhancement */
.welcome-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.welcome-section-title {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  letter-spacing: 1px;
}

.welcome-section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(45deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
}

.welcome-section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

.welcome-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.decoration-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(45deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 1px;
}

.decoration-star {
  color: #ffd700;
  font-size: 1.2rem;
  animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

/* Modern Call-to-Action Styles */
.modern-cta {
  background: linear-gradient(135deg, #333333 0%, #28a745 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.modern-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

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

.cta-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px;
  margin: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.cta-card:hover::before {
  left: 100%;
}

.cta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cta-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #333333, #28a745);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 18px;
  box-shadow: 0 8px 16px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
}

.cta-card:hover .cta-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 24px rgba(40, 167, 69, 0.4);
}

.cta-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 11px;
  color: #666;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.3;
}

.cta-btn {
  background: linear-gradient(135deg, #333333, #28a745);
  border: none;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
  font-size: 11px;
}

.cta-btn::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;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
  color: white;
  text-decoration: none;
}

.cta-btn:focus {
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

.cta-btn i {
  margin-right: 6px;
  transition: transform 0.3s ease;
  font-size: 10px;
}

.cta-btn:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .modern-cta {
    padding: 30px 0;
  }
  
  .cta-card {
    margin: 6px 0;
    padding: 18px;
    height: 180px;
  }
  
  .cta-title {
    font-size: 13px;
  }
  
  .cta-subtitle {
    font-size: 10px;
  }
  
  .cta-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .cta-btn {
    padding: 7px 18px;
    font-size: 10px;
  }
}

@media (max-width: 576px) {
  .modern-cta {
    padding: 25px 0;
  }
  
  .cta-card {
    padding: 15px;
    margin: 5px 0;
    height: 160px;
  }
  
  .cta-title {
    font-size: 12px;
  }
  
  .cta-subtitle {
    font-size: 9px;
  }
  
  .cta-btn {
    padding: 6px 16px;
    font-size: 9px;
  }
  
  .cta-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* Fixed Berita Section Styles - Larger Social Buttons */
.ts-features {
  background: #ffffff;
  padding: 80px 0;
  position: relative;
}

.ts-service-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 0;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.ts-service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ts-service-box:hover::before {
  opacity: 1;
}

.ts-service-box:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: #ffd700;
}

.ts-service-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
  border-radius: 20px 20px 0 0;
}

.ts-service-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.ts-service-box:hover .ts-service-image-wrapper::before {
  opacity: 1;
}

.ts-service-image-wrapper img.gambar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.ts-service-box:hover .ts-service-image-wrapper img.gambar {
  transform: scale(1.05);
}

/* Fix the d-flex layout issue */
.ts-service-box .d-flex {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
}

/* Social Media Section - Larger Buttons */
.ts-service-box-img {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  position: relative;
  z-index: 2;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.ts-service-box-img a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.ts-service-box-img a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background: #28a745;
}

.ts-service-box-img img {
  width: 16px !important;
  height: 16px !important;
  transition: all 0.3s ease;
}

.ts-service-box-img a:hover img {
  transform: scale(1.1);
}

/* Text Content Section - Full Width */
.ts-service-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100px;
}

.service-box-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  color: #1a202c;
  transition: all 0.3s ease;
}

.service-box-title a {
  color: #1a202c;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-box-title a:hover {
  color: #28a745;
  text-decoration: none;
}

.ts-service-info p {
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 400;
}

.ts-service-info p:last-child {
  margin-bottom: 0;
  font-size: 11px;
  color: #718096;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.ts-service-info b {
  color: #28a745;
  font-weight: 600;
  background: rgba(40, 167, 69, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 10px;
}

.post-item-date {
  color: #718096;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 500;
}

.post-item-date i {
  color: #28a745;
  font-size: 11px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ts-features {
    padding: 60px 0;
  }
  
  .ts-service-box {
    margin-bottom: 30px;
  }
  
  .ts-service-image-wrapper {
    height: 180px;
  }
  
  .service-box-title {
    font-size: 14px;
  }
  
  .ts-service-info p {
    font-size: 12px;
  }
  
  .ts-service-box-img {
    padding: 10px 14px;
  }
  
  .ts-service-box-img a {
    width: 32px;
    height: 32px;
  }
  
  .ts-service-box-img img {
    width: 14px !important;
    height: 14px !important;
  }
}

@media (max-width: 576px) {
  .ts-features {
    padding: 40px 0;
  }
  
  .ts-service-image-wrapper {
    height: 160px;
  }
  
  .service-box-title {
    font-size: 13px;
  }
  
  .ts-service-info p {
    font-size: 11px;
  }
  
  .ts-service-box-img {
    padding: 8px 12px;
  }
  
  .ts-service-box-img a {
    width: 30px;
    height: 30px;
  }
  
  .ts-service-box-img img {
    width: 13px !important;
    height: 13px !important;
  }
}

/* Modern Pengumuman Section Styles */
.modern-pengumuman {
  background: linear-gradient(135deg, #333333 0%, #28a745 50%, #ffd700 100%);
  padding: 80px 0;
  position: relative;
}

.modern-pengumuman::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* Removed section title underline and divider */

.section-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 15px;
  font-weight: 400;
}

/* Pengumuman Cards */
.pengumuman-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pengumuman-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #20c997);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.pengumuman-card:hover::before {
  transform: scaleX(1);
}

.pengumuman-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Icon */
.pengumuman-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.pengumuman-icon::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;
}

.pengumuman-card:hover .pengumuman-icon::before {
  left: 100%;
}

.pengumuman-icon i {
  font-size: 24px;
  color: #ffffff;
  z-index: 2;
  position: relative;
}

/* Content */
.pengumuman-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pengumuman-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.pengumuman-card:hover .pengumuman-title {
  color: #28a745;
}

/* Meta Information */
.pengumuman-meta {
  margin-bottom: 20px;
}

.pengumuman-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #718096;
  font-weight: 500;
}

.pengumuman-date i {
  color: #28a745;
  font-size: 14px;
}

/* Download Button */
.pengumuman-action {
  margin-top: auto;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.download-btn i {
  font-size: 14px;
  z-index: 2;
  position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-pengumuman {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
    color: #ffffff;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .pengumuman-card {
    padding: 25px;
    margin-bottom: 20px;
  }
  
  .pengumuman-icon {
    width: 50px;
    height: 50px;
  }
  
  .pengumuman-icon i {
    font-size: 20px;
  }
  
  .pengumuman-title {
    font-size: 1.1rem;
  }
  
  .download-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .modern-pengumuman {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    color: #ffffff;
  }
  
  .pengumuman-card {
    padding: 20px;
  }
  
  .pengumuman-icon {
    width: 45px;
    height: 45px;
  }
  
  .pengumuman-icon i {
    font-size: 18px;
  }
  
  .pengumuman-title {
    font-size: 1rem;
  }
  
  .download-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* Modern Facts Section Styles */
.modern-facts {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.modern-facts::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  pointer-events: none;
}

.facts-wrapper {
  position: relative;
  z-index: 2;
}

/* Fact Cards */
.fact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.fact-card:hover::before {
  left: 100%;
}

.fact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

/* Fact Icons */
.fact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.fact-icon::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;
}

.fact-card:hover .fact-icon::before {
  left: 100%;
}

.fact-icon i {
  font-size: 32px;
  color: #ffffff;
  z-index: 2;
  position: relative;
}

/* Fact Content */
.fact-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fact-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fact-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-facts {
    padding: 60px 0;
  }
  
  .fact-card {
    padding: 30px 20px;
    margin-bottom: 20px;
  }
  
  .fact-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }
  
  .fact-icon i {
    font-size: 28px;
  }
  
  .fact-number {
    font-size: 2.5rem;
  }
  
  .fact-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .modern-facts {
    padding: 40px 0;
  }
  
  .fact-card {
    padding: 25px 15px;
  }
  
  .fact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  
  .fact-icon i {
    font-size: 24px;
  }
  
  .fact-number {
    font-size: 2rem;
  }
  
  .fact-title {
    font-size: 1rem;
  }
}

/* Modern Tridharma Section Styles */
.modern-tridharma {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.modern-tridharma::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.modern-tridharma .container {
  position: relative;
  z-index: 2;
}

/* Section Header */
.tridharma-section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.tridharma-section-title {
  font-size: 3rem;
  font-weight: 800;
  color: #2d3748;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}

.tridharma-section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background: linear-gradient(90deg, #6c757d, #495057);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

.tridharma-section-subtitle {
  font-size: 1.2rem;
  color: #495057;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ensure rows have equal height and proper spacing */
.modern-tridharma .row {
  align-items: stretch;
  margin-bottom: 40px;
}

.modern-tridharma .row:last-child {
  margin-bottom: 0;
}

.modern-tridharma .col-lg-4 {
  display: flex;
  flex-direction: column;
  padding: 0 15px;
  margin-bottom: 30px;
}

/* Tridharma Cards */
.tridharma-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 35px 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  justify-content: center;
  transform: translateY(0);
}

.tridharma-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #6c757d, #495057);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.tridharma-card:hover::before {
  transform: scaleX(1);
}

.tridharma-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 1);
}

/* Tridharma Icons */
.tridharma-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #6c757d, #495057);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(108, 117, 125, 0.3);
  transition: all 0.4s ease;
}

.tridharma-icon::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;
}

.tridharma-card:hover .tridharma-icon::before {
  left: 100%;
}

.tridharma-icon i {
  font-size: 28px;
  color: #ffffff;
  z-index: 2;
  position: relative;
  transition: transform 0.3s ease;
}

/* Tridharma Content */
.tridharma-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tridharma-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2d3748;
  margin-bottom: 18px;
  line-height: 1.3;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.tridharma-card:hover .tridharma-title {
  color: #6c757d;
}

.tridharma-description {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  font-weight: 400;
}

/* Tridharma Button */
.tridharma-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #6c757d, #495057);
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
  position: relative;
  overflow: hidden;
  align-self: flex-start;
  letter-spacing: 0.5px;
}

.tridharma-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.tridharma-btn:hover::before {
  left: 100%;
}

.tridharma-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 117, 125, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.tridharma-btn i {
  font-size: 10px;
  z-index: 2;
  position: relative;
  transition: transform 0.3s ease;
}

.tridharma-btn:hover i {
  transform: translateX(3px);
}

/* Image Gallery */










/* Responsive Design */
@media (max-width: 768px) {
  .modern-tridharma {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  }
  
  .tridharma-section-header {
    margin-bottom: 40px;
  }
  
  .tridharma-section-title {
    font-size: 2.5rem;
  }
  
  .tridharma-section-subtitle {
    font-size: 1rem;
  }
  
  .modern-tridharma .row {
    margin-bottom: 25px;
  }
  
  .modern-tridharma .col-lg-4 {
    margin-bottom: 15px;
  }
  
  .modern-tridharma .col-lg-4 {
    margin-bottom: 20px;
  }
  
  .tridharma-card {
    padding: 30px 20px;
    margin-bottom: 30px;
    min-height: 250px;
  }
  

  

  

  
  .tridharma-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  
  .tridharma-icon i {
    font-size: 24px;
  }
  
  .tridharma-title {
    font-size: 1.3rem;
  }
  
  .tridharma-description {
    font-size: 0.95rem;
  }
  
  .tridharma-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .modern-tridharma {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  }
  
  .tridharma-section-header {
    margin-bottom: 25px;
  }
  
  .tridharma-section-title {
    font-size: 2rem;
  }
  
  .tridharma-section-subtitle {
    font-size: 0.95rem;
  }
  
  .modern-tridharma .row {
    margin-bottom: 20px;
  }
  
  .tridharma-card {
    padding: 25px 15px;
    min-height: 220px;
  }
  

  

  

  
  .tridharma-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 15px;
  }
  
  .tridharma-icon i {
    font-size: 22px;
  }
  
  .tridharma-title {
    font-size: 1.2rem;
  }
  
  .tridharma-description {
    font-size: 0.9rem;
  }
  
  .tridharma-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* Modern Subscribe/Divider Section Styles */
.modern-subscribe {
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 50%, #718096 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.modern-subscribe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="diamond" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23diamond)"/></svg>');
  pointer-events: none;
}

.modern-subscribe .container {
  position: relative;
  z-index: 2;
}

.subscribe-divider-content {
  text-align: center;
  color: #ffffff;
}

.subscribe-divider-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.subscribe-divider-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, #e2e8f0);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.subscribe-divider-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
  font-weight: 300;
}

.newsletter-divider {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.newsletter-divider-intro {
  text-align: center;
  margin-bottom: 25px;
}

.newsletter-divider-intro h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.newsletter-divider-intro p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-weight: 300;
}

.newsletter-divider-form {
  position: relative;
}

.newsletter-divider-form .form-control {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 15px 20px;
  font-size: 1rem;
  color: #2d3748;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-divider-form .form-control:focus {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  outline: none;
}

.newsletter-divider-form .form-control::placeholder {
  color: #718096;
  font-weight: 300;
}

/* Responsive Design for Subscribe/Divider */
@media (max-width: 768px) {
  .modern-subscribe {
    padding: 50px 0;
  }
  
  .subscribe-divider-title {
    font-size: 2rem;
  }
  
  .subscribe-divider-subtitle {
    font-size: 1rem;
  }
  
  .newsletter-divider {
    padding: 25px;
  }
  
  .newsletter-divider-intro h4 {
    font-size: 1.2rem;
  }
  
  .newsletter-divider-intro p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .modern-subscribe {
    padding: 40px 0;
  }
  
  .subscribe-divider-title {
    font-size: 1.8rem;
  }
  
  .subscribe-divider-subtitle {
    font-size: 0.95rem;
  }
  
  .newsletter-divider {
    padding: 20px;
  }
  
  .newsletter-divider-intro h4 {
    font-size: 1.1rem;
  }
  
  .newsletter-divider-intro p {
    font-size: 0.85rem;
  }
  
  .newsletter-divider-form .form-control {
    padding: 12px 15px;
    font-size: 0.95rem;
  }
}

/* Modern News/Artikel Section Styles */
.modern-news {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.modern-news::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="news-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="%236c757d" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23news-pattern)"/></svg>');
  pointer-events: none;
}

.modern-news .container {
  position: relative;
  z-index: 2;
}

.news-section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.news-section-title {
  font-size: 3rem;
  font-weight: 800;
  color: #2d3748;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}

.news-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #6c757d, #495057);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.news-section-subtitle {
  font-size: 1.3rem;
  color: #6c757d;
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-article-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6c757d, #495057);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.modern-article-card:hover::before {
  transform: scaleX(1);
}

.modern-article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 1);
}

.modern-article-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.modern-article-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modern-article-card:hover .modern-article-media img {
  transform: scale(1.05);
}

.modern-article-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.modern-article-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modern-article-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.modern-article-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.modern-article-card:hover .modern-article-title a {
  color: #6c757d;
}

.modern-article-meta {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(108, 117, 125, 0.1);
}

.modern-article-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 8px;
}

.modern-article-date i {
  color: #495057;
  font-size: 0.8rem;
}

.modern-article-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #495057;
  font-weight: 600;
}

.modern-article-author i {
  color: #6c757d;
  font-size: 0.8rem;
}

.modern-news-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #6c757d, #495057);
  color: #ffffff;
  text-decoration: none;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.modern-news-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.modern-news-btn:hover::before {
  left: 100%;
}

.modern-news-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(108, 117, 125, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.modern-news-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.modern-news-btn:hover i {
  transform: translateX(3px);
}

/* Responsive Design for News/Artikel */
@media (max-width: 768px) {
  .modern-news {
    padding: 60px 0;
  }
  
  .news-section-header {
    margin-bottom: 50px;
  }
  
  .news-section-title {
    font-size: 2.5rem;
  }
  
  .news-section-subtitle {
    font-size: 1.2rem;
  }
  
  .modern-article-body {
    padding: 20px;
  }
  
  .modern-article-title {
    font-size: 1.1rem;
  }
  
  .modern-article-media img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .modern-news {
    padding: 50px 0;
  }
  
  .news-section-header {
    margin-bottom: 40px;
  }
  
  .news-section-title {
    font-size: 2rem;
  }
  
  .news-section-subtitle {
    font-size: 1.1rem;
  }
  
  .modern-article-body {
    padding: 18px;
  }
  
  .modern-article-title {
    font-size: 1rem;
  }
  
  .modern-article-media img {
    height: 180px;
  }
  
  .modern-news-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}
