/*
Theme Name: Diginus
Theme URI: https://example.com/diginus
Author: Diginus Team
Author URI: https://example.com
Description: Tema resmi Program Studi Administrasi Publik FISIP Universitas Tadulako.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: diginus
Tags: custom-background, custom-menu, featured-images, full-width-template, one-column, post-formats, responsive-layout, theme-options, translation-ready
*/


/* Global Styles */
body {
	box-sizing: border-box;
  }
  
  * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  }

  html, body {
	height: 100%;
  }

  :root {
	--primary-color: #108398;
	--secondary-color: #f1bb2e;
  }

  .nav-link {
	transition: all 0.3s ease;
  }

  .nav-link:hover {
	color: var(--secondary-color);
	transform: translateY(-2px);
  }

  .dropdown {
	position: relative;
  }

  .dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	z-index: 1000;
  }

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

  .card-hover {
	transition: all 0.3s ease;
  }

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

  .scroll-top, .whatsapp-float {
	transition: all 0.3s ease;
  }

  .scroll-top:hover, .whatsapp-float:hover {
	transform: scale(1.1);
  }

  .carousel-container {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
  }

  .carousel-container::-webkit-scrollbar {
	display: none;
  }

  .carousel-track {
	display: flex;
	gap: 16px;
	padding: 0 16px;
  }

  .carousel-item {
	flex: 0 0 calc(100% - 32px);
	scroll-snap-align: center;
  }

  @media (min-width: 768px) {
	.carousel-item-2 {
	  flex: 0 0 calc(50% - 24px);
	}
	.carousel-item-3 {
	  flex: 0 0 calc(33.333% - 24px);
	}
	.carousel-item-4 {
	  flex: 0 0 calc(25% - 24px);
	}
  }

  @media (min-width: 1024px) {
	.carousel-item-3-lg {
	  flex: 0 0 calc(33.333% - 24px);
	}
	.carousel-item-4-lg {
	  flex: 0 0 calc(25% - 24px);
	}
  }

  .video-docker {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	z-index: -1;
  }

  .video-docker iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	/* Jadikan lebih besar dari viewport */
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	border: none;
  }

  @media (max-aspect-ratio: 16/9) {
	.video-docker iframe {
	  width: 100%;
	  height: 177.78vw;
	}
  }

  @media (min-aspect-ratio: 16/9) {
	.video-docker iframe {
	  width: 177.78vh;
	  height: 100%;
	}
  }

  .mobile-menu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
  }

  .mobile-menu.active {
	max-height: 1000px;
  }

  .hamburger span {
	display: block;
	width: 25px;
	height: 3px;
	background: white;
	margin: 5px 0;
	transition: 0.3s;
  }

  .visitor-count {
	font-family: 'Courier New', monospace;
	font-weight: bold;
  }

  #typewriter-cursor {
	animation: blink 0.8s infinite;
  }

  @keyframes blink {
	0%, 50% {
	  opacity: 1;
	}
	51%, 100% {
	  opacity: 0;
	}
  }

  /* System Information Slider Styles */
  .system-slider-wrapper {
	position: relative;
	overflow: hidden;
	padding: 0 60px;
  }

  @media (max-width: 768px) {
	.system-slider-wrapper {
	  padding: 0 50px;
	}
  }

  .system-slider-container {
	display: flex;
	gap: 24px;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
	padding: 10px 0;
  }

  @media (max-width: 768px) {
	.system-slider-container {
	  gap: 20px;
	}
  }

  @media (max-width: 480px) {
	.system-slider-container {
	  gap: 16px;
	}
  }

  .system-card {
	flex: 0 0 200px;
	background: white;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	position: relative;
	border: 2px solid transparent;
	will-change: transform;
  }

  @media (max-width: 768px) {
	.system-card {
	  flex: 0 0 180px;
	  padding: 28px 20px;
	}
  }

  @media (max-width: 480px) {
	.system-card {
	  flex: 0 0 160px;
	  padding: 24px 16px;
	}
  }


  .system-card:hover {
	transform: translateY(-15px) scale(1.02);
	box-shadow: 0 20px 40px rgba(16, 131, 152, 0.25);
	border-color: #108398;
  }

  .system-card:hover::before {
	opacity: 1;
  }

  .system-icon {
	font-size: 3.5rem;
	margin-bottom: 16px;
	display: inline-block;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	filter: drop-shadow(0 4px 20px rgba(16, 131, 152, 0.3));
	background: linear-gradient(135deg, #108398 0%, #1ba8c2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
  }

  @media (max-width: 768px) {
	.system-icon {
	  font-size: 3rem;
	  margin-bottom: 12px;
	}
  }

  @media (max-width: 480px) {
	.system-icon {
	  font-size: 2.5rem;
	  margin-bottom: 8px;
	}
  }

  .system-card:hover .system-icon {
	transform: scale(1.1);
	filter: drop-shadow(0 8px 30px rgba(16, 131, 152, 0.5));
  }

  .system-title {
	font-size: 1rem;
	font-weight: 700;
	color: #333;
	transition: color 0.3s ease;
	line-height: 1.4;
  }

  @media (max-width: 768px) {
	.system-title {
	  font-size: 0.95rem;
	}
  }

  @media (max-width: 480px) {
	.system-title {
	  font-size: 0.9rem;
	}
  }

  .system-card:hover .system-title {
	color: #108398;
  }

  .system-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	background: white;
	border: 2px solid #108398;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  @media (max-width: 768px) {
	.system-nav-btn {
	  width: 40px;
	  height: 40px;
	}
  }

  .system-nav-btn:hover {
	background: #108398;
	color: white;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 6px 20px rgba(16, 131, 152, 0.3);
  }

  .system-nav-btn:active {
	transform: translateY(-50%) scale(0.95);
  }

  .system-nav-btn.prev {
	left: 0;
  }

  .system-nav-btn.next {
	right: 0;
  }

  .system-nav-btn i {
	font-size: 1.25rem;
  }

  @media (max-width: 768px) {
	.system-nav-btn i {
	  font-size: 1rem;
	}
  }

  .system-dots {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 32px;
  }

  .system-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #d1d5db;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .system-dot:hover {
	background: #108398;
	transform: scale(1.2);
  }

  .system-dot.active {
	width: 30px;
	border-radius: 6px;
	background: linear-gradient(90deg, #108398 0%, #1ba8c2 100%);
  }

  /* Timeline Styles */
  .timeline-container {
	position: relative;
	padding: 20px 0;
  }

  .timeline-line {
	position: absolute;
	width: 3px;
	background: linear-gradient(to bottom, #108398, #f1bb2e);
	top: 0;
	bottom: 0;
	left: 20px;
  }

  @media (min-width: 768px) {
	.timeline-line {
	  left: 50%;
	  transform: translateX(-50%);
	  width: 4px;
	}
  }

  .timeline-item {
	position: relative;
	margin-bottom: 40px;
	padding-left: 60px;
  }

  @media (min-width: 768px) {
	.timeline-item {
	  padding-left: 0;
	  margin-bottom: 60px;
	}
	
	.timeline-item.left .timeline-content {
	  margin-right: calc(50% + 40px);
	  margin-left: 0;
	}
	
	.timeline-item.right .timeline-content {
	  margin-left: calc(50% + 40px);
	  margin-right: 0;
	}
  }

  @media (min-width: 1024px) {
	.timeline-item {
	  margin-bottom: 80px;
	}
	
	.timeline-item.left .timeline-content {
	  margin-right: calc(50% + 50px);
	}
	
	.timeline-item.right .timeline-content {
	  margin-left: calc(50% + 50px);
	}
  }

  .timeline-dot {
	position: absolute;
	width: 20px;
	height: 20px;
	background: #f1bb2e;
	border: 4px solid white;
	border-radius: 50%;
	box-shadow: 0 0 0 4px #108398;
	left: 11px;
	top: 20px;
	z-index: 10;
	transition: all 0.4s ease;
	animation: pulse 2s infinite;
  }

  @media (min-width: 768px) {
	.timeline-dot {
	  width: 24px;
	  height: 24px;
	  left: 50%;
	  transform: translateX(-50%);
	  top: 30px;
	}
  }

  @media (min-width: 1024px) {
	.timeline-dot {
	  width: 28px;
	  height: 28px;
	}
  }

  .timeline-item:hover .timeline-dot {
	transform: scale(1.5);
	box-shadow: 0 0 0 8px rgba(16, 131, 152, 0.3);
	animation: none;
  }

  @media (min-width: 768px) {
	.timeline-item:hover .timeline-dot {
	  transform: translateX(-50%) scale(1.5);
	}
  }

  @keyframes pulse {
	0%, 100% {
	  box-shadow: 0 0 0 4px #108398;
	}
	50% {
	  box-shadow: 0 0 0 8px rgba(16, 131, 152, 0.5);
	}
  }

  .timeline-content {
	background: white;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.4s ease;
	border-left: 4px solid #108398;
  }

  @media (min-width: 768px) {
	.timeline-content {
	  padding: 24px;
	  border-radius: 16px;
	}
	
	.timeline-item.left .timeline-content {
	  border-left: none;
	  border-right: 4px solid #108398;
	}
  }

  @media (min-width: 1024px) {
	.timeline-content {
	  padding: 30px;
	  border-radius: 20px;
	}
  }

  .timeline-item:hover .timeline-content {
	transform: scale(1.05) translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	border-left-width: 6px;
  }

  @media (min-width: 768px) {
	.timeline-item.left:hover .timeline-content {
	  border-left: none;
	  border-right-width: 6px;
	}
  }

  .timeline-icon {
	font-size: 40px;
	margin-bottom: 12px;
  }

  @media (min-width: 768px) {
	.timeline-icon {
	  font-size: 48px;
	  margin-bottom: 16px;
	}
  }

  @media (min-width: 1024px) {
	.timeline-icon {
	  font-size: 56px;
	  margin-bottom: 20px;
	}
  }

  .timeline-date {
	display: inline-block;
	background: linear-gradient(135deg, #108398, #0a5c6b);
	color: white;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 12px;
  }

  @media (min-width: 768px) {
	.timeline-date {
	  padding: 8px 20px;
	  font-size: 13px;
	  margin-bottom: 16px;
	}
  }

  @media (min-width: 1024px) {
	.timeline-date {
	  padding: 10px 24px;
	  font-size: 14px;
	  margin-bottom: 20px;
	}
  }

  .timeline-title {
	font-size: 18px;
	font-weight: bold;
	color: #108398;
	margin-bottom: 8px;
  }

  @media (min-width: 768px) {
	.timeline-title {
	  font-size: 20px;
	  margin-bottom: 10px;
	}
  }

  @media (min-width: 1024px) {
	.timeline-title {
	  font-size: 24px;
	  margin-bottom: 12px;
	}
  }

  .timeline-description {
	color: #666;
	font-size: 13px;
	line-height: 1.6;
  }

  @media (min-width: 768px) {
	.timeline-description {
	  font-size: 14px;
	}
  }

  @media (min-width: 1024px) {
	.timeline-description {
	  font-size: 15px;
	  line-height: 1.8;
	}
  }

  /* Gallery Slider Styles */
  .gallery-slider-container {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 24px;
	padding: 10px 0;
  }

  @media (min-width: 768px) {
	.gallery-slider-container {
	  grid-template-columns: repeat(2, 1fr);
	  gap: 28px;
	}
  }

  @media (min-width: 1024px) {
	.gallery-slider-container {
	  grid-template-columns: repeat(3, 1fr);
	  gap: 32px;
	}
  }

  .gallery-card {
	position: relative;
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
  }

  .gallery-card:hover {
	transform: translateY(-12px) scale(1.03);
	box-shadow: 0 20px 40px rgba(16, 131, 152, 0.3);
  }

  .gallery-card-image {
	position: relative;
	width: 100%;
	height: 280px;
	background: linear-gradient(135deg, #108398 0%, #0a5c6b 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 80px;
	overflow: hidden;
  }

  .gallery-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(16, 131, 152, 0.9) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
	display: flex;
	align-items: flex-end;
	padding: 24px;
  }

  .gallery-card:hover .gallery-card-overlay {
	opacity: 1;
  }

  .gallery-card-overlay-text {
	color: white;
	font-size: 18px;
	font-weight: 600;
	transform: translateY(20px);
	transition: transform 0.4s ease;
  }

  .gallery-card:hover .gallery-card-overlay-text {
	transform: translateY(0);
  }

  .gallery-card-content {
	padding: 20px;
  }

  .gallery-card-title {
	font-size: 18px;
	font-weight: bold;
	color: #108398;
	margin-bottom: 8px;
	transition: color 0.3s ease;
  }

  .gallery-card:hover .gallery-card-title {
	color: #f1bb2e;
  }

  .gallery-card-description {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
  }

  .gallery-nav-btn {
	opacity: 0.7;
  }

  .gallery-nav-btn:hover {
	opacity: 1;
	transform: scale(1.1);
  }

  .gallery-nav-btn:active {
	transform: scale(0.95);
  }

  .gallery-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ccc;
	transition: all 0.3s ease;
	cursor: pointer;
  }

  .gallery-dot:hover {
	background: #108398;
	transform: scale(1.2);
  }

  .gallery-dot.active {
	width: 32px;
	border-radius: 5px;
	background: linear-gradient(135deg, #108398, #0a5c6b);
  }

  @media (max-width: 768px) {
	.gallery-nav-btn {
	  width: 40px;
	  height: 40px;
	  transform: translateX(0);
	}

	.gallery-prev {
	  left: -8px;
	}

	.gallery-next {
	  right: -8px;
	}
  }

