
/* CSS Variables - Tiga Karunia Jaya Theme (Maroon & Gold) */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #F2F2F2;
  --bg-dark: #1E1E1E;
  --text-primary: #1E1E1E;
  --text-secondary: #666666;
  --text-muted: #adb5bd;
  --border-color: #E0E0E0;
  --shadow: 0 2px 4px rgba(184,15,10,0.1);
  --nav-bg: #B80F0A;
  --nav-text: #ffffff;
  --primary-color: #B80F0A;
  --primary-hover: #8C0C08;
  --text-primary-color: #B80F0A;
  --accent-color: #D4A017;
  --accent-hover: #B88A12;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  --text-white: #ffffff;
  --card-bg: #ffffff;
  --input-bg: #ffffff;
  --ticker-bg: #B80F0A;
  --logo-maroon: #B80F0A;
  --logo-gold: #D4A017;
  --footer-bg: #8C0C08;
}


/* Header Layout - Tiga Karunia Jaya Theme (Navy & Gold) */
.main-header {
  background: #ffffff;
  padding: 8px 0;
  border-bottom: 2px solid var(--nav-bg);
  box-shadow: 0 2px 8px rgba(184,15,10,0.15);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

/* Logo - Tiga Karunia Jaya Theme */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(30,58,138,0.1));
}

/* Remove border/box from logo on desktop */
@media (min-width: 769px) {
  .logo,
  .logo-image,
  .logo-link {
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
  }
  
  .logo-link:hover,
  .logo-link:focus,
  .logo-link:visited {
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
  }
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-primary);
}

/* Search Container */
.search-container {
  flex: 1;
  max-width: 400px;
  margin: 0 auto;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 8px 35px 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 14px;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(36,51,98,0.05);
}

.search-input:focus {
  outline: none;
  border-color: var(--nav-bg);
  box-shadow: 0 0 0 3px rgba(184,15,10,0.1);
  transform: translateY(-1px);
}

.search-icon {
  position: absolute;
  right: 12px;
  color: var(--nav-bg);
  font-size: 14px;
  transition: color 0.3s ease;
}

.search-icon:hover {
  color: var(--primary-hover);
}

/* Date Info - Tiga Karunia Jaya Theme */
.date-info {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-primary);
  font-weight: 500;
  background: linear-gradient(135deg, var(--logo-navy), var(--logo-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.action-btn, .social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--nav-bg);
  background: transparent;
  color: var(--nav-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(184,15,10,0.1);
}

.action-btn:hover, .social-btn:hover {
  background: var(--nav-bg);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(184,15,10,0.3);
}

/* Header Right - Removed */

/* Main Navigation - Tiga Karunia Jaya Theme */
.main-nav {
  background: linear-gradient(135deg, var(--nav-bg) 0%, var(--primary-hover) 100%);
  padding: 6px 0;
  box-shadow: 0 2px 8px rgba(184,15,10,0.15);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  color: var(--nav-text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}

.nav-item::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;
}

.nav-item:hover::before {
  left: 100%;
}

.nav-item:hover,
.nav-item.active {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Home icon color - ensure it's white */
.nav-item.nav-home,
.nav-item.nav-home i,
.nav-item.nav-home .fas {
  color: #ffffff !important;
}

/* Sticky Header */
.sticky-header-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sticky-header-container {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    background: var(--bg-primary) !important;
  }
  
  .header-content {
    flex-direction: row;
    gap: 8px;
    text-align: left;
    align-items: center;
  }
  
  .logo {
    flex-shrink: 0;
    order: 1;
  }
  
  .logo-image {
    width: 50px;
    height: 50px;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .search-container {
    flex: 1;
    order: 2;
    max-width: none;
    margin: 0;
  }
  
  .search-input {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
  
  .date-info {
    display: none;
  }
  
  .header-actions {
    display: none;
  }
  
  .main-nav {
    padding: 4px 0;
  }
  
  .nav-menu {
    padding: 0 8px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.3) transparent;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-menu::-webkit-scrollbar {
    height: 3px;
  }
  
  .nav-menu::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .nav-menu::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.3);
    border-radius: 2px;
  }

  .nav-item {
    font-size: 0.8rem;
    padding: 5px 8px;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: bold;
  }
}

/* Layout Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 15px;
}

.col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

@media (max-width: 991.98px) {
  .col-lg-8,
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Homepage Styles */
.feature-carousel {
  position: relative;
  margin-bottom: 2rem;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide:not(.active) {
  display: none;
}

.feature-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.feature-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  transition: transform 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-nav.prev {
  left: 20px;
}

.carousel-nav.next {
  right: 20px;
}

.feature-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 40px 30px 30px;
}

.feature-categories {
  margin-bottom: 10px;
}

.feature-category-tag {
  background: var(--nav-bg);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-right: 8px;
}

.feature-headline {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-headline a {
  color: white;
  text-decoration: none;
}

.feature-headline a:hover {
  color: var(--nav-bg);
}

.feature-date {
  font-size: 0.9rem;
  opacity: 0.9;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: var(--nav-bg);
}

/* Editor Choice Section */
.editor-choice-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.editor-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.editor-carousel-container {
  display: flex;
  gap: 20px;
  overflow: hidden;
  flex: 1;
  scroll-behavior: smooth;
  padding: 0 20px;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.editor-card {
  min-width: 250px;
  max-width: 250px;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.editor-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.editor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editor-content {
  padding: 15px;
}

.editor-categories {
  margin-bottom: 8px;
}

.editor-category-tag {
  background: var(--nav-bg);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-right: 5px;
}

.editor-title {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
}

.editor-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.editor-title a:hover {
  color: var(--nav-bg);
}

/* Topik Khusus Section */
.topik-khusus-section {
  margin-bottom: 2rem;
}

.topik-khusus-section .section-title {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-primary);
}

.title-text {
  margin-right: 15px;
}

.title-underline {
  flex: 1;
  height: 3px;
  background: var(--nav-bg);
  border-radius: 2px;
}

.topik-khusus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}

.topik-khusus-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.topik-khusus-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
}

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

.topik-khusus-header {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.topik-khusus-image {
  width: 100%;
  height: 100%;
}

.topik-khusus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topik-default-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--nav-bg), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.topik-khusus-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topik-khusus-info {
  text-align: center;
}

.topik-post-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.topik-khusus-tag {
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.2;
}

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

@media (max-width: 768px) {
  .topik-khusus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .editor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .editor-carousel-container {
    display: flex;
    gap: 15px;
    padding: 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
  }
  
  .editor-card {
    min-width: 250px;
    max-width: 250px;
    flex-shrink: 0;
  }
  
  /* Hide navigation arrows on mobile for editor carousel */
  .editor-carousel .carousel-nav {
    display: none;
  }
  
  .carousel-container {
    height: 300px;
  }
  
  .feature-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
  }
  
  .feature-image-container img {
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .feature-content {
    padding: 20px 15px 15px;
  }
  
  .feature-headline {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .topik-khusus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .carousel-container {
    height: 250px;
  }
  
  .feature-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
  }
  
  .feature-image-container img {
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .feature-headline {
    font-size: 1rem;
  }
  
  .latest-news-image {
    height: 180px;
  }
  
  .latest-news-title {
    font-size: 0.95rem;
  }
  
  .latest-news-excerpt {
    font-size: 0.8rem;
  }
}

/* Random News Section */
.random-news-section {
  margin-bottom: 2rem;
}

.random-news-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.random-news-carousel-container {
  display: flex;
  gap: 20px;
  overflow: hidden;
  flex: 1;
  scroll-behavior: smooth;
  padding: 0 20px;
}

.random-news-card {
  min-width: 200px;
  max-width: 200px;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.random-news-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.random-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.random-news-content {
  padding: 12px;
}

.random-news-title {
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
}

.random-news-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.random-news-title a:hover {
  color: var(--nav-bg);
}

.see-all-container {
  text-align: center;
  margin-top: 2rem;
}

.see-all-btn {
  display: inline-block;
  background: var(--nav-bg);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.see-all-btn:hover {
  background: var(--accent-color);
  color: var(--text-primary);
}

/* Latest News Section */
.latest-news-section {
  margin-bottom: 2rem;
}

.latest-news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.latest-news-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.latest-news-item:hover {
  transform: translateY(-2px);
}

.latest-news-image {
  flex-shrink: 0;
  width: 150px;
  height: 100px;
  overflow: hidden;
  border-radius: 6px;
}

.latest-news-image img,
.latest-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.latest-news-title {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 0 0 8px 0;
}

.latest-news-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.latest-news-title a:hover {
  color: var(--nav-bg);
}

.latest-news-categories {
  margin-bottom: 5px;
}

.latest-news-category-tag {
  background: var(--nav-bg);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  margin-right: 5px;
}

.latest-news-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1;
}

.latest-news-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: auto;
}

/* Random News Section */
.random-news-section {
  margin: 2rem 0;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.random-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.random-carousel-container {
  display: flex;
  gap: 20px;
  overflow: hidden;
  flex: 1;
  scroll-behavior: smooth;
  padding: 0 20px;
}

.random-news-card {
  min-width: 200px;
  max-width: 200px;
  background: var(--bg-secondary);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.random-news-card:hover {
  transform: translateY(-3px);
}

.random-news-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.random-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.random-news-content {
  padding: 12px;
}

.random-news-title {
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
}

.random-news-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.random-news-title a:hover {
  color: var(--nav-bg);
}

/* Clients Section Styles */
.clients-section {
  margin-bottom: 2rem;
}

.clients-carousel {
  position: relative;
  display: flex;
  align-items: center;
}

.clients-carousel-container {
  display: flex;
  gap: 20px;
  overflow: hidden;
  width: 100%;
  padding: 0 20px;
  max-width: 720px; /* Limit width to show only 3 logos with larger size */
  margin: 0 auto;
}

.client-card {
  min-width: 220px;
  max-width: 220px;
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  height: 150px;
}

.client-card:hover {
  transform: translateY(-3px);
}

.client-logo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter 0.3s ease;
}

.client-card:hover .client-logo img {
  filter: grayscale(0%);
}

/* Responsive Design for Latest News */
@media (max-width: 768px) {
  .latest-news-item {
    flex-direction: column;
    gap: 10px;
  }
  
  .latest-news-image {
    width: 100%;
    height: 200px;
  }
  
  .latest-news-title {
    font-size: 1rem;
  }
  
  .latest-news-excerpt {
    font-size: 0.85rem;
  }
  
  .random-carousel-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  padding: 0;
    overflow: visible;
  }
  
  .random-news-card {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }
  
  /* Hide navigation arrows on mobile for random carousel */
  .random-carousel .carousel-nav {
    display: none;
  }
  
  /* Clients section mobile styles */
  .clients-carousel-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 10px;
    scroll-behavior: smooth;
  }
  
  .client-card {
    min-width: 180px;
    max-width: 180px;
    height: 120px;
    padding: 8px;
    flex-shrink: 0;
  }
  
  /* Hide navigation arrows on mobile for clients carousel */
  .clients-carousel .carousel-nav {
    display: none;
  }
  
  /* Also apply grid layout to first random news carousel */
  .random-news-carousel-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0;
    overflow: visible;
  }
  
  .random-news-carousel .carousel-nav {
    display: none;
  }
}

/* Sidebar Styles */
.sidebar-section {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  overflow: hidden;
}

.sidebar-title {
  background: var(--nav-bg);
  color: white;
  padding: 15px 20px;
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Popular Posts */
.popular-posts-list {
  padding: 0;
}

.popular-post-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.popular-post-item:last-child {
  border-bottom: none;
}

.popular-post-item:hover {
  background-color: var(--bg-secondary);
}

.post-number {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--nav-bg);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.post-content {
  flex: 1;
  min-width: 0;
}

.post-category {
  font-size: 0.7rem;
  color: var(--nav-bg);
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-title {
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
}

.post-title a {
  color: var(--text-primary);
  text-decoration: none;
  display: -webkit-box;
      -webkit-line-clamp: 2;
    line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-title a:hover {
  color: var(--nav-bg);
}

/* Reader's Choice */
.readers-choice-list {
  padding: 0;
}

.reader-choice-item {
  display: flex;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.reader-choice-item:last-child {
  border-bottom: none;
}

.reader-choice-item:hover {
  background-color: var(--bg-secondary);
}

.choice-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.choice-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.choice-title {
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 0 0 5px 0;
}

.choice-title a {
  color: var(--text-primary);
  text-decoration: none;
  display: -webkit-box;
      -webkit-line-clamp: 2;
    line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.choice-title a:hover {
  color: var(--nav-bg);
}

.choice-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Empty State */
.empty-state {
  padding: 30px 20px;
  text-align: center;
}

.empty-state .text-muted {
  color: var(--text-muted);
  font-style: italic;
}

/* Responsive Sidebar */
@media (max-width: 991.98px) {
  .sidebar-section {
    margin-bottom: 1.5rem;
  }
  
  .popular-post-item,
  .reader-choice-item {
    padding: 12px 15px;
  }
  
  .post-title a,
  .choice-title a {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

@media (max-width: 768px) {
  .sidebar-section {
    margin-bottom: 1rem;
  }
  
  .sidebar-title {
    padding: 12px 15px;
    font-size: 1rem;
  }
  
  .popular-post-item,
  .reader-choice-item {
    padding: 10px 15px;
  }
  
  .post-number {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }
  
  .choice-image {
    width: 50px;
    height: 50px;
  }
}

/* Content visibility fixes */
.text-white {
  color: white !important;
}

.text-dark {
  color: var(--text-primary) !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

/* Newsletter Styles */
.newsletter-form-container {
  padding: 20px;
}

.newsletter-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.newsletter-form .form-group {
  margin-bottom: 15px;
}

.newsletter-form .form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
  background: var(--input-bg);
  color: var(--text-primary);
  transition: border-color 0.3s ease;
}

.newsletter-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.2);
}

.newsletter-form .btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.newsletter-form .btn:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

.newsletter-message {
  margin-top: 15px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
}

.newsletter-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.newsletter-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Newsletter Responsive */
@media (max-width: 768px) {
  .newsletter-form-container {
    padding: 15px;
  }
  
  .newsletter-description {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  
  .newsletter-form .form-control {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  
  .newsletter-form .btn {
  padding: 10px;
    font-size: 0.85rem;
  }
}

/* Related Categories Section */
.related-categories-section {
  margin-top: 40px;
}

.related-categories-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-primary);
  margin: 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.related-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.related-category-item {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.related-category-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-category-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  min-height: 100%;
  min-width: 100%;
}

.related-category-item:hover .related-category-image img {
  transform: scale(1.05);
}

.related-category-content {
  padding: 15px;
  text-align: center;
}

.related-category-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related-category-title:hover {
  color: var(--nav-bg);
}

.related-category-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Responsive Design for Related Categories */
@media (max-width: 992px) {
  .related-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .related-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .related-category-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .related-category-image img {
    object-fit: cover;
    object-position: center;
    min-height: 100%;
    min-width: 100%;
  }
  
  .related-category-content {
    padding: 12px;
  }
  
  .related-category-title {
    font-size: 0.9rem;
  }
  
  .related-category-count {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .related-categories-section {
  margin-top: 30px;
}

  .related-categories-title {
    font-size: 1.1rem;
    margin: 15px 0;
  }
  
  .related-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .related-category-image {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .related-category-image img {
    object-fit: cover;
    object-position: center;
    min-height: 100%;
    min-width: 100%;
  }
  
  .related-category-content {
    padding: 10px;
  }
  
  .related-category-title {
    font-size: 0.85rem;
  }
  
  .related-category-count {
    font-size: 0.75rem;
  }
}

/* Related Tags Section - Same style as categories */
.related-tags-section {
  margin-bottom: 2rem;
}

.related-tags-title {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.related-tags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-tag-item {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.related-tag-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-tag-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-tag-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  min-height: 100%;
  min-width: 100%;
}

.related-tag-item:hover .related-tag-image img {
  transform: scale(1.05);
}

.related-tag-content {
  padding: 15px;
  text-align: center;
}

.related-tag-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  text-transform: uppercase;
}

.related-tag-title:hover {
  color: var(--nav-bg);
}

/* Responsive for tags */
@media (max-width: 768px) {
  .related-tags-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .related-tag-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .related-tag-image img {
    object-fit: cover;
    object-position: center;
    min-height: 100%;
    min-width: 100%;
  }
  
  .related-tag-content {
    padding: 12px;
  }
  
  .related-tag-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .related-tags-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .related-tag-image {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .related-tag-image img {
    object-fit: cover;
    object-position: center;
    min-height: 100%;
    min-width: 100%;
  }
  
  .related-tag-content {
    padding: 10px;
  }
  
  .related-tag-title {
    font-size: 0.85rem;
  }
}


/* Related Tags Section */
.related-tags-section {
  margin-top: 40px;
}

.related-tags-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-primary);
  margin: 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.related-tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.related-tag-item {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.related-tag-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-tag-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
}

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

.related-tag-item:hover .related-tag-image img {
  transform: scale(1.05);
}

.related-tag-content {
  padding: 15px;
  text-align: center;
}

.related-tag-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related-tag-title:hover {
  color: var(--nav-bg);
}

.related-tag-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Responsive Design for Related Tags */
@media (max-width: 768px) {
  .related-tags-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .related-tag-image {
    height: 120px;
  }
  
  .related-tag-content {
    padding: 12px;
  }
  
  .related-tag-title {
    font-size: 0.9rem;
  }
  
  .related-tag-count {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .related-tags-section {
    margin-top: 30px;
  }
  
  .related-tags-title {
    font-size: 1.1rem;
    margin: 15px 0;
  }
  
  .related-tags-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .related-tag-image {
    height: 100px;
  }
  
  .related-tag-content {
    padding: 10px;
  }
  
  .related-tag-title {
    font-size: 0.85rem;
  }
  
  .related-tag-count {
    font-size: 0.75rem;
  }
}

/* ===== GLOBAL RESPONSIVE IMAGES FIX ===== */
/* Semua gambar menjadi responsif */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* Gambar dalam konten */
.content img,
.article-content img,
.post-content img,
.entry-content img,
.wp-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 15px auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .content img,
    .article-content img,
    .post-content img,
    .entry-content img,
    .wp-content img {
        margin: 10px auto;
        border-radius: 4px;
    }
}

/* Mobile Gap Responsive - PILIHAN EDITOR Section Only */
/* Konsisten gap antara feature image dan kategori di semua breakpoint mobile */

@media (max-width: 600px) {
    .editor-card .editor-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 550px) {
    .editor-card .editor-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 500px) {
    .editor-card .editor-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 450px) {
    .editor-card .editor-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 400px) {
    .editor-card .editor-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 350px) {
    .editor-card .editor-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 300px) {
    .editor-card .editor-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

/* Mobile Gap Responsive - RANDOM BERITA Section */
/* Konsisten gap dan aspect ratio antara feature image dan kategori di semua breakpoint mobile */

@media (max-width: 600px) {
    .random-news-card .random-news-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 550px) {
    .random-news-card .random-news-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 500px) {
    .random-news-card .random-news-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 450px) {
    .random-news-card .random-news-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 400px) {
    .random-news-card .random-news-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 350px) {
    .random-news-card .random-news-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 300px) {
    .random-news-card .random-news-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

/* Mobile Gap Responsive - ARTIKEL TERKAIT Section (detail-post.php) */
/* Konsisten gap dan aspect ratio antara feature image dan kategori di semua breakpoint mobile */

@media (max-width: 600px) {
    .related-post-item .related-post-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 550px) {
    .related-post-item .related-post-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 500px) {
    .related-post-item .related-post-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 450px) {
    .related-post-item .related-post-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 400px) {
    .related-post-item .related-post-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 350px) {
    .related-post-item .related-post-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

@media (max-width: 300px) {
    .related-post-item .related-post-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 8px !important;  /* Gap konsisten */
    }
}

/* Responsive Design - SNGG Theme */
@media (max-width: 768px) {
  .main-header {
    padding: 6px 0;
  }
  
  .header-content {
    flex-direction: column;
    gap: 8px;
  }
  
  .logo-image {
    width: 50px;
    height: 50px;
  }
  
  .search-container {
    display: none; /* Hide search form on mobile */
  }
  
  .date-info {
    order: 2;
    text-align: center;
    font-size: 0.75rem;
  }
  
  .header-actions {
    order: 1;
    justify-content: center;
    gap: 6px;
  }
  
  .action-btn, .social-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  
  .main-nav {
    padding: 4px 0;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 0 5px;
  }
  
  .nav-item {
    padding: 5px 8px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .main-header {
    padding: 5px 0;
  }
  
  .logo-image {
    width: 45px;
    height: 45px;
  }
  
  .search-container {
    display: none; /* Ensure search form is hidden on small mobile */
  }
  
  .date-info {
    font-size: 0.7rem;
  }
  
  .header-actions {
    gap: 4px;
  }
  
  .action-btn, .social-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  .main-nav {
    padding: 3px 0;
  }
  
  .nav-item {
    padding: 4px 6px;
    font-size: 0.75rem;
  }
}

@media (max-width: 360px) {
  .main-header {
    padding: 4px 0;
  }
  
  .logo-image {
    width: 40px;
    height: 40px;
  }
  
  .header-content {
    gap: 6px;
  }
  
  .date-info {
    font-size: 0.65rem;
  }
  
  .action-btn, .social-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  
  .main-nav {
    padding: 2px 0;
  }
  
  .nav-item {
    padding: 3px 5px;
    font-size: 0.7rem;
  }
}

/* Mobile Gap Responsive - TOPIK KHUSUS Section (index.php) */
/* Gap 0px untuk TOPIK KHUSUS, aspect ratio konsisten di semua breakpoint mobile */

@media (max-width: 600px) {
    .topik-khusus-card .topik-khusus-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 0px !important;  /* Gap 0px untuk TOPIK KHUSUS */
    }
    
    .topik-khusus-card .topik-khusus-content {
        padding-top: 5px !important;  /* Padding atas dikurangi */
    }
}

@media (max-width: 550px) {
    .topik-khusus-card .topik-khusus-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 0px !important;  /* Gap 0px untuk TOPIK KHUSUS */
    }
    
    .topik-khusus-card .topik-khusus-content {
        padding-top: 5px !important;  /* Padding atas dikurangi */
    }
}

@media (max-width: 500px) {
    .topik-khusus-card .topik-khusus-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 0px !important;  /* Gap 0px untuk TOPIK KHUSUS */
    }
    
    .topik-khusus-card .topik-khusus-content {
        padding-top: 5px !important;  /* Padding atas dikurangi */
    }
}

@media (max-width: 450px) {
    .topik-khusus-card .topik-khusus-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 0px !important;  /* Gap 0px untuk TOPIK KHUSUS */
    }
    
    .topik-khusus-card .topik-khusus-content {
        padding-top: 5px !important;  /* Padding atas dikurangi */
    }
}

@media (max-width: 400px) {
    .topik-khusus-card .topik-khusus-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 0px !important;  /* Gap 0px untuk TOPIK KHUSUS */
    }
    
    .topik-khusus-card .topik-khusus-content {
        padding-top: 5px !important;  /* Padding atas dikurangi */
    }
}

@media (max-width: 350px) {
    .topik-khusus-card .topik-khusus-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 0px !important;  /* Gap 0px untuk TOPIK KHUSUS */
    }
    
    .topik-khusus-card .topik-khusus-content {
        padding-top: 5px !important;  /* Padding atas dikurangi */
    }
}

@media (max-width: 300px) {
    .topik-khusus-card .topik-khusus-image {
        aspect-ratio: 16/9 !important;  /* Rasio tetap */
        height: auto !important;  /* Tinggi mengikuti rasio */
        margin-bottom: 0px !important;  /* Gap 0px untuk TOPIK KHUSUS */
    }
    
    .topik-khusus-card .topik-khusus-content {
        padding-top: 5px !important;  /* Padding atas dikurangi */
    }
}

/* Desktop + Mobile Scrollable Nav JADI 1 BARIS GESER*/
.nav-menu {
  display: flex;
  flex-wrap: nowrap;       /* jangan bungkus ke baris baru */
  overflow-x: auto;        /* aktifkan scroll horizontal */
  overflow-y: hidden;
  gap: 10px;               /* jarak antar menu */
  padding: 0 10px;
  -webkit-overflow-scrolling: touch; /* biar smooth di iOS */
  scrollbar-width: thin;             /* firefox */
  scrollbar-color: rgba(0,0,0,0.3) transparent;
}

.nav-menu::-webkit-scrollbar {
  height: 4px; /* tinggi scrollbar */
}

.nav-menu::-webkit-scrollbar-track {
  background: transparent;
}

.nav-menu::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 2px;
}

/* Supaya item tidak dipaksa lebar */
.nav-item {
  flex: 0 0 auto;         /* biar lebarnya sesuai konten */
  white-space: nowrap;    /* teks tidak patah ke bawah */
  padding: 6px 12px;      /* agak kecil biar hemat ruang */
}

/* Logo Link Styles */
.logo-link {
  text-decoration: none !important;
  color: inherit;
  display: inline-block;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.logo-link:hover {
  text-decoration: none !important;
  color: inherit;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.logo-link:visited {
  text-decoration: none !important;
  color: inherit;
  border: none !important;
  background: none !important;
}

.logo-link:focus {
  text-decoration: none !important;
  color: inherit;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Custom Button Styles for Project Section */
.btn-outline-primary {
  border: 2px solid var(--nav-bg);
  color: var(--nav-bg);
  background: transparent;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-primary:hover {
  background: var(--nav-bg);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(46, 139, 87, 0.3);
  text-decoration: none;
}

.btn-outline-primary:focus {
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2);
  text-decoration: none;
}

/* TENTANG KAMI Section */
.tentang-kami-section {
  margin: 15px 0 0 0;
  padding: 1.5rem 0;
  text-align: center;
}

.tentang-kami-section .text-center {
  margin-top: 1.5rem;
}

.tentang-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.tentang-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.tentang-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tentang-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.tentang-description:last-child {
  margin-bottom: 0;
}

/* Mobile Responsive untuk TENTANG KAMI */
@media (max-width: 768px) {
  .tentang-kami-section {
    margin: 0.25rem 0 0.5rem 0;
    padding: 1rem 0;
  }
  
  .tentang-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .tentang-content {
    padding: 0 1rem;
  }
  
  .tentang-description {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }
}

/* LAYANAN KAMI Section */
.layanan-kami-section {
  margin: 0 0 3rem 0;
  padding: 2rem 0;
}

.layanan-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.layanan-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

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

.layanan-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layanan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
  border-radius: 0;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
}

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

.layanan-content {
  padding: 15px 0 0 0;
  margin-top: 0;
  text-align: center;
}

.layanan-caption {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-primary);
  margin: 0;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design for LAYANAN KAMI */
@media (max-width: 768px) {
  .layanan-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .layanan-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .layanan-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .layanan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
  }
  
  .layanan-content {
    padding: 12px 0 0 0;
    margin-top: 0;
  }
  
  .layanan-caption {
    font-size: 1.1rem;
  }
}


/* Testimonial Styles */
.tentang-subtitle {
  color: #2c5530;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.certification-info {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.cert-item {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.layanan-price {
  color: #28a745;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.testimonial-rating {
  margin-bottom: 0.5rem;
}

.testimonial-location {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Enhanced Tentang Panentas Section */
.tentang-kami-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 2rem;
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tentang-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c5530;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.tentang-subtitle {
  color: #2c5530;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #28a745;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.tentang-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.certification-info {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 2rem;
  border-left: 5px solid #28a745;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cert-item {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #2c5530;
}

.cert-item strong {
  color: #28a745;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tentang-kami-section {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }
  
  .tentang-title {
    font-size: 2.2rem;
  }
  
  .tentang-subtitle {
    font-size: 1.4rem;
  }
  
  .tentang-description {
    font-size: 1rem;
  }
}

/* Wider text column for Tentang Panentas */
.tentang-content .row {
  max-width: 100%;
}

.tentang-content .col-lg-9 {
  padding-right: 2rem;
}

.tentang-content .col-lg-3 {
  padding-left: 1rem;
}

/* Make text more readable with better spacing */
.tentang-description {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 1.8rem;
  padding-right: 1rem;
}

/* Responsive adjustments for wider layout */
@media (max-width: 992px) {
  .tentang-content .col-lg-9,
  .tentang-content .col-lg-3 {
    padding-left: 0;
    padding-right: 0;
  }
  
  .tentang-content .col-lg-9 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .tentang-description {
    font-size: 1.05rem;
    line-height: 1.8;
    padding-right: 0;
  }
}

/* Full width text for Tentang Panentas */
.tentang-content .col-12 {
  max-width: 100%;
  padding: 0 2rem;
}

.tentang-subtitle {
  color: #2c5530;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border-bottom: 3px solid #28a745;
  padding-bottom: 0.8rem;
  display: inline-block;
}

.tentang-description {
  font-size: 1.2rem;
  line-height: 2;
  color: #495057;
  margin-bottom: 2rem;
  text-align: justify;
  max-width: 100%;
}

.certification-info {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
  border-left: 5px solid #28a745;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  max-width: 100%;
}

.cert-item {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #2c5530;
}

.cert-item strong {
  color: #28a745;
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tentang-content .col-12 {
    padding: 0 1rem;
  }
  
  .tentang-subtitle {
    font-size: 1.6rem;
  }
  
  .tentang-description {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
  }
  
  .certification-info {
    padding: 1.5rem;
  }
}

/* Product Links Styling */
.layanan-caption a {
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem;
  border-radius: 8px;
}

.layanan-caption a:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  color: #28a745 !important;
}

.layanan-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.layanan-image {
  transition: all 0.3s ease;
}

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

/* Testimoni Section Styling */
.testimoni-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 2rem;
  border-radius: 15px;
  margin: 2rem 0;
}

.testimonial-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: #ffc107;
  font-weight: bold;
  opacity: 0.7;
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid #28a745;
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-image {
  border-color: #ffc107;
  transform: scale(1.1);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #495057;
  line-height: 1.6;
  font-size: 0.95rem;
}

.testimonial-author {
  font-weight: 600;
  color: #28a745;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.testimonial-role {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimoni-section {
    padding: 2rem 1rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-card::before {
    font-size: 3rem;
  }
  
  .testimonial-image {
    width: 60px;
    height: 60px;
  }
}

/* Mobile Testimonial Layout - More Compact */
@media (max-width: 768px) {
  .testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    text-align: left;
  }
  
  .testimonial-card::before {
    display: none; /* Hide quote mark on mobile */
  }
  
  .testimonial-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .testimonial-image {
    width: 60px;
    height: 60px;
    margin: 0;
    flex-shrink: 0;
    border: 3px solid #28a745;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: left;
    font-style: normal;
  }
  
  .testimonial-author-info {
    text-align: left;
    margin-top: 0.5rem;
  }
  
  .testimonial-author {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  
  .testimonial-role {
    font-size: 0.8rem;
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  .testimonial-card {
    padding: 0.8rem;
  }
  
  .testimonial-content-wrapper {
    gap: 0.8rem;
  }
  
  .testimonial-image {
    width: 50px;
    height: 50px;
  }
  
  .testimonial-text {
    font-size: 0.85rem;
  }
}

/* Blog Page Styling */
.page-header {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c5530;
  margin-bottom: 1rem;
}

.page-description {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* Post Card Horizontal */
.post-card-horizontal {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef !important;
}

.post-card-horizontal:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  border-color: #28a745 !important;
}

.post-image-section {
  overflow: hidden;
}

.post-image-section img {
  transition: transform 0.3s ease;
}

.post-card-horizontal:hover .post-image-section img {
  transform: scale(1.05);
}

.post-title a {
  color: #2c5530 !important;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #28a745 !important;
}

.post-excerpt {
  color: #495057;
  line-height: 1.6;
}

.post-footer {
  border-top: 1px solid #f8f9fa;
  padding-top: 0.5rem;
  margin-top: auto;
}

.post-date, .post-author {
  font-size: 0.85rem;
}

.badge.bg-success {
  background-color: #28a745 !important;
  font-size: 0.75rem;
}

.no-image {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.no-posts {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  border: 2px dashed #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  
  .post-card-horizontal {
    flex-direction: column !important;
  }
  
  .post-image-section {
    width: 100% !important;
    height: 200px;
  }
  
  .post-content-section {
    padding: 1rem !important;
  }
}

/* Daftar Mitra Section Styling */
.daftar-mitra-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 2rem;
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mitra-subtitle {
  color: #2c5530;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #28a745;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.mitra-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 2rem;
  text-align: justify;
}

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

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
  border-left: 4px solid #28a745;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(40, 167, 69, 0.2);
  transform: translateX(5px);
}

.benefit-item i {
  font-size: 1.2rem;
  min-width: 20px;
}

.benefit-item span {
  font-weight: 500;
  color: #2c5530;
}

.mitra-cta-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border: 2px solid #28a745;
  transition: all 0.3s ease;
}

.mitra-cta-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.mitra-icon {
  margin-bottom: 1rem;
}

.mitra-cta-title {
  color: #2c5530;
  font-weight: 600;
  margin-bottom: 1rem;
}

.mitra-cta-text {
  color: #6c757d;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .daftar-mitra-section {
    padding: 2rem 1rem;
  }
  
  .mitra-subtitle {
    font-size: 1.4rem;
  }
  
  .mitra-description {
    font-size: 1rem;
    text-align: left;
  }
  
  .mitra-benefits {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .mitra-cta-box {
    padding: 1.5rem;
    margin-top: 2rem;
  }
}

/* Kelas Gratis Info within Daftar Mitra Section */
.kelas-gratis-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-radius: 10px;
  border: 2px solid #ffc107;
}

.kelas-gratis-info .kelas-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: #856404;
  font-weight: 600;
  margin-bottom: 1rem;
}

.kelas-gratis-info .kelas-highlight i {
  color: #ffc107;
  font-size: 1.3rem;
}

.kelas-gratis-info .kelas-description-small {
  font-size: 1rem;
  line-height: 1.6;
  color: #856404;
  margin: 0;
}

/* Kelas Gratis CTA within Mitra CTA Box */
.kelas-gratis-cta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e9ecef;
}

.kelas-gratis-text {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 1rem;
  font-weight: 500;
}

.kelas-gratis-cta .btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  padding: 10px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.kelas-gratis-cta .btn-warning:hover {
  background-color: #e0a800;
  border-color: #d39e00;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.kelas-gratis-cta .kelas-note {
  font-size: 0.85rem;
  color: #6c757d;
}

.kelas-gratis-cta .kelas-note i {
  color: #ffc107;
}

/* Blog Page Styling */

/* WhatsApp Sticky Button (global) */
.whatsapp-sticky {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: #25d366;
  color: #FFFFFF !important; /* White color for icon */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-sticky:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: #FFFFFF !important; /* White color for icon on hover */
  text-decoration: none;
}

.whatsapp-sticky:hover i {
  color: #FFFFFF !important; /* White icon on hover */
}

.whatsapp-sticky i {
  font-size: 28px;
  color: #FFFFFF !important; /* White icon inside green WhatsApp button */
}

@media (max-width: 768px) {
  .whatsapp-sticky {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-sticky i {
    font-size: 24px;
    color: #FFFFFF !important; /* White icon inside green WhatsApp button */
  }
}

/* ============================================
   TIGA KARUNIA JAYA CUSTOM STYLES
   ============================================ */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.6) 100%), url('../img/pages-tigakaruniajaya/Foto 1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.btn-hero-primary {
  background: #B80F0A;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(184,15,10,0.3);
}

.btn-hero-primary:hover {
  background: #8C0C08;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,15,10,0.4);
  color: #FFFFFF;
}

.btn-hero-outline {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background: #FFFFFF;
  color: #B80F0A;
  transform: translateY(-2px);
}

/* Section Titles */
.section-title-main {
  font-size: 2rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 15px; /* Reduced from 30px */
  position: relative;
  padding-bottom: 8px; /* Reduced from 15px */
}

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

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 15px;
}

/* Tentang Kami Section */
.keunggulan-list {
  margin-top: 20px;
}

.keunggulan-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.keunggulan-item i {
  font-size: 1.2rem;
  color: #B80F0A;
}

/* Visi Misi Section */
.visi-misi-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.visi-misi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(184,15,10,0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #D4A017, #B88A12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: white;
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 15px;
  text-align: center;
}

.card-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #666666;
  text-align: center;
}

.misi-list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.misi-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #666666;
  line-height: 1.6;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.misi-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #B80F0A;
  font-weight: bold;
}

/* Layanan Section */
.layanan-item {
  margin-bottom: 50px;
}

.layanan-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 20px;
}

.layanan-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.layanan-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #666666;
  line-height: 1.6;
}

.layanan-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #B80F0A;
  font-weight: bold;
  font-size: 1.2rem;
}

.layanan-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.feature-badge {
  background: #F2F2F2;
  color: #1E1E1E;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.feature-badge i {
  color: #B80F0A;
}

.layanan-kelebihan {
  margin-top: 20px;
  padding: 20px;
  background: #F2F2F2;
  border-radius: 8px;
}

.layanan-kelebihan h5 {
  color: #1E1E1E;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Produk Card */
.produk-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 25px;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.produk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(184,15,10,0.1);
}

.produk-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #D4A017, #B88A12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
}

.produk-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 15px;
}

.produk-desc {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 15px;
  font-style: italic;
}

.produk-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.produk-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: #666666;
  font-size: 0.95rem;
}

.produk-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #B80F0A;
}

/* Fasilitas Section */
.fasilitas-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.fasilitas-card img {
  display: block;
  margin: 0 auto;
}

.fasilitas-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #D4A017, #B88A12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: white;
  font-size: 1.5rem;
}

.fasilitas-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 15px;
  text-align: center;
}

.fasilitas-list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.fasilitas-list li {
  padding: 8px 0;
  color: #666666;
  line-height: 1.6;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

/* Client Section */
.client-logo-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.client-logo-card img {
  max-height: 80px;
  width: auto;
  margin-bottom: 10px;
  object-fit: contain;
}

.client-name {
  font-size: 0.9rem;
  color: #666666;
  margin: 0;
  font-weight: 500;
}

/* Legalitas Section */
.legalitas-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.legalitas-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(30,58,95,0.1);
}

.legalitas-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #D4A017, #B88A12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 1.5rem;
}

.legalitas-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 10px;
}

.legalitas-number {
  font-size: 1.1rem;
  color: #B80F0A;
  font-weight: 600;
}

/* Legalitas Section Mobile Optimization */
@media (max-width: 991.98px) {
  .legalitas-section .row {
    margin-left: -8px;
    margin-right: -8px;
  }
  
  /* Force 2 columns on mobile for legalitas section */
  .legalitas-section .row > .col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  
  .legalitas-section .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .legalitas-card {
    padding: 15px;
  }
  
  .legalitas-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .legalitas-card h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  
  .legalitas-number {
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .legalitas-section .row {
    margin-left: -5px;
    margin-right: -5px;
  }
  
  /* Force 2 columns on small mobile for legalitas section */
  .legalitas-section .row > .col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  
  .legalitas-section .row > [class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
  }
  
  .legalitas-section .row > [class*="col-"] {
    margin-bottom: 10px;
  }
  
  .legalitas-card {
    padding: 12px;
  }
  
  .legalitas-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .legalitas-card h4 {
    font-size: 0.85rem;
    margin-bottom: 5px;
    line-height: 1.3;
  }
  
  .legalitas-number {
    font-size: 0.9rem;
  }
}

/* Kontak Section */
.kontak-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.kontak-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 20px;
}

.kontak-info {
  margin-top: 20px;
}

.kontak-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.kontak-item i {
  font-size: 1.3rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.kontak-item div {
  flex: 1;
}

.kontak-item strong {
  color: #1E1E1E;
  display: block;
  margin-bottom: 5px;
}

.kontak-item a {
  color: #B80F0A;
  text-decoration: none;
}

.kontak-item a:hover {
  text-decoration: underline;
}

.kontak-desc {
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
    min-height: 400px;
  }
  
  .hero-content .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 1.8rem;
    max-width: 100%;
    padding: 0 10px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
    padding: 0 10px;
  }
  
  .hero-buttons {
    flex-direction: row;
    max-width: 100%;
    padding: 0 10px;
    gap: 10px;
  }
  
  .btn-hero-primary,
  .btn-hero-outline {
    flex: 1;
    width: auto;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .section-title-main {
    font-size: 1.5rem;
    margin-bottom: 12px !important; /* Reduced spacing for mobile */
    padding-bottom: 6px !important; /* Reduced padding for mobile */
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 50px 0;
    min-height: 350px;
  }
  
  .hero-content .container {
    padding: 0 10px;
  }
  
  .hero-title {
    font-size: 1.5rem;
    padding: 0 5px;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    padding: 0 5px;
  }
  
  .hero-buttons {
    padding: 0 5px;
    gap: 8px;
  }
  
  .btn-hero-primary,
  .btn-hero-outline {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

