@font-face {
  font-family: "SerithaiExpanded", sans-serif;
  font-weight: 400;
  src: url("{{ asset('assets/fonts/serithai_expanded.woff2') }}") format('woff2');
}

:root {
  --primary: #00295f;
  --primary2: #011030;
  --secondary: #a80808;
  --primary-rgb: 0, 41, 95;
  --accent: #58813d;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-gray: #343a40;
  --font-family: "SerithaiExpanded", sans-serif;
}

* {
  font-family: "SerithaiExpanded", sans-serif;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent horizontal scroll for parallax effects */
}

.label-required::after {
  content: "*";
  color: var(--secondary);
  margin-left: 0.25rem;
}

/* *Top Bar */
.top-bar {
  background-color: var(--primary2);
  color: var(--white);
  font-size: 0.9rem;
}

.top-bar a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* *Header */
.main-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand img {
  max-height: 60px;
}

.nav-link {
  color: var(--primary) !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  font-size: 0.9rem;
}

.nav-link:hover {
  color: var(--secondary) !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}

.dropdown-item {
  color: var(--primary);
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
}

.dropdown-item:hover {
  background-color: rgba(0, 41, 95, 0.1);
  color: var(--primary);
}

.btn-pmb {
  background-color: var(--primary);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 0.5rem 1.5rem !important;
}

.btn-pmb:hover {
  background-color: #8a0606;
  color: var(--white) !important;
}

/* *Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, #001a3e 100%);
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../img/pattern.jpeg");
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
}

.hero-image {
  position: relative;
  z-index: 1;
  /* width: 100%; */
  max-height: 450px;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 5px 10px rgba(255, 255, 255, .5);
}

.hero-badges img {
  height: 150px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

.hero-wave {
  position: relative;
  z-index: 1;
  margin-top: -1px;
}

/* *Quick Links Section */
.quick-links {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.quick-link-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.quick-link-card:hover .icon-box {
  background-color: var(--secondary);
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.quick-link-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.quick-link-card p {
  color: #666;
  margin-bottom: 0;
}

/* *Academic Services Section */
.service-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-title {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.service-links {
  display: flex;
  flex-direction: column;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
  font-weight: 500;
}

.service-link:hover {
  color: var(--secondary);
  padding-left: 0.5rem;
}

.service-icon {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  width: 80px;
  opacity: 0.2;
}

/* *Achievements Section */
.section-title {
  color: var(--primary);
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.3s ease;
}

.achievement-item:hover {
  transform: translateY(-5px);
}

.achievement-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.achievement-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.achievement-content p {
  color: #666;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* *News Section */
.news-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.news-img-container {
  position: relative;
  overflow: hidden;
}

.news-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img {
  transform: scale(1.1);
}

.news-date-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-top-left-radius: 10px;
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.news-excerpt {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* *Campus Info Section */
.info-card {
  display: flex;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
}

.info-date {
  background-color: var(--accent);
  color: var(--white);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 80px;
}

.info-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.info-date .month {
  font-size: 0.85rem;
}

.info-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.info-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.info-link {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.info-link:hover {
  text-decoration: underline;
}

/* *Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #001a3e 100%);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../img/pattern.jpeg");
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-content {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-title {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.breadcrumb {
  position: relative;
  z-index: 1;
}

.breadcrumb-item {
  color: var(--white);
  text-transform: capitalize;
}

.breadcrumb-item a {
  color: var(--white);
  text-decoration: none;
  text-transform: capitalize;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.7);
}

/* *History Section */
.history-content {
  padding: 4rem 0;
}

.history-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.history-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

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

.history-text h2 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.history-text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

.history-text p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* *Timeline Section */
.timeline {
  position: relative;
  padding: 3rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  position: relative;
  width: calc(50% - 30px);
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  left: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  right: -10px;
}

.timeline-date {
  position: absolute;
  top: 10px;
  width: 120px;
  padding: 0.5rem;
  background-color: var(--accent);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-date {
  left: -170px;
}

.timeline-item:nth-child(even) .timeline-date {
  right: -170px;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  /* left: 50%; */
  width: 20px;
  height: 20px;
  background-color: var(--secondary);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-dot.odd {
  left: 104.8%;
}

.timeline-dot.even {
  left: -4.8%;
}

.timeline-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-text {
  color: #666;
  margin-bottom: 0;
}

/* *Vision & Mission Section */
.vision-mission {
  background-color: var(--light-gray);
  padding: 4rem 0;
}

.vision-card,
.mission-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-5px);
}

.vision-card h3,
.mission-card h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
  text-align: center;
}

.vision-card h3::after,
.mission-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
  transform: translateX(-50%);
}

.vision-card p,
.mission-card p {
  text-align: center;
  margin-bottom: 0;
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.mission-list li:last-child {
  margin-bottom: 0;
}

.mission-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* *Founders Section */
.founders-section {
  padding: 4rem 0;
}

.founder-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.founder-image {
  height: 300px;
  overflow: hidden;
}

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

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

.founder-content {
  padding: 1.5rem;
  text-align: center;
}

.founder-name {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.founder-position {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.founder-bio {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* *Program Card */
.program-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.program-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.program-content {
  padding: 1.5rem;
}

.program-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.program-info {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.program-info li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.program-info li i {
  color: var(--accent);
  margin-right: 0.5rem;
  width: 20px;
}

/* *Calendar Card */
.calendar-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.calendar-month {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary);
}

.calendar-event {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.calendar-event:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.calendar-date {
  background-color: var(--accent);
  color: var(--white);
  padding: 0.5rem;
  border-radius: 5px;
  text-align: center;
  min-width: 60px;
  margin-right: 1rem;
}

.calendar-date .day {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.calendar-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.calendar-info h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.calendar-info p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* *Facility Card */
.facility-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.facility-image {
  height: 200px;
  overflow: hidden;
}

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

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

.facility-content {
  padding: 1.5rem;
}

.facility-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.facility-text {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* *Staff Card */
.staff-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.staff-image {
  height: 250px;
  overflow: hidden;
}

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

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

.staff-content {
  padding: 1.5rem;
  text-align: center;
}

.staff-name {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.staff-position {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.staff-contact {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.staff-contact a {
  color: var(--accent);
  transition: color 0.3s ease;
}

.staff-contact a:hover {
  color: var(--primary);
}

.nav-tabs {
  border: none;
  margin-bottom: 2rem;
}

.nav-tabs .nav-link {
  border: none;
  color: #666;
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-radius: 5px;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  background-color: rgba(0, 41, 95, 0.1);
  color: var(--primary);
}

.nav-tabs .nav-link.active {
  background-color: var(--primary);
  color: var(--white) !important;
}

.tab-content {
  background-color: var(--white);
  border-radius: 10px;
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
  /* padding: 2rem; */
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.course-item:hover {
  background-color: rgba(0, 41, 95, 0.05);
}

.course-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.course-info {
  flex-grow: 1;
}

.course-name {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.course-details {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.course-credits {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-left: 1rem;
}

/* *Featured Scholarship */
.featured-scholarship {
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 0px;
  position: relative;
  z-index: 10;
}

.featured-content {
  padding: 2rem;
}

.featured-badge {
  background-color: var(--secondary);
  color: var(--white);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.featured-title {
  color: var(--primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.featured-info {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.featured-info li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: #666;
}

.featured-info li i {
  color: var(--accent);
  margin-right: 0.75rem;
  width: 20px;
}

/* *Scholarship Card */
.scholarship-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.scholarship-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.scholarship-content {
  padding: 1.5rem;
}

.scholarship-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.scholarship-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.scholarship-info {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.scholarship-info li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.scholarship-info li i {
  color: var(--accent);
  margin-right: 0.5rem;
  width: 20px;
}

/* *Process Card */
.process-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.process-number {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background-color: rgba(88, 129, 61, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
}

.process-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.process-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.process-text {
  color: #666;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* *Requirements Card */
.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirements-item {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.requirements-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.requirements-content h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.requirements-content p {
  color: #666;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* *FAQ Card */
.faq-item {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(0, 41, 95, 0.05);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 500px;
  border-top: 1px solid #eee;
}

.faq-answer p {
  color: #666;
  margin-bottom: 0;
}

/* *Program Overview */
.program-overview {
  margin-top: 0px;
  position: relative;
  z-index: 10;
}

.overview-card {
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.overview-badge {
  background-color: var(--secondary);
  color: var(--white);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(0, 41, 95, 0.05);
  border-radius: 10px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
}

/* *Career Prospects */
.career-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.career-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.career-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* *Curriculum Tabs */
.curriculum-tabs {
  border: none;
  margin-bottom: 2rem;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.curriculum-tabs .nav-link {
  border: none;
  color: #666;
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-radius: 5px;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.curriculum-tabs .nav-link:hover {
  background-color: rgba(0, 41, 95, 0.1);
  color: var(--primary);
}

.curriculum-tabs .nav-link.active {
  background-color: var(--primary);
  color: var(--white);
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-item {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.course-item:hover {
  transform: translateX(5px);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.course-name {
  color: var(--primary);
  font-weight: 600;
  margin: 0;
}

.course-credits {
  background-color: var(--accent);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.course-desc {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* *Learning Facilities */
.facility-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.facility-image {
  height: 200px;
  overflow: hidden;
}

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

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

.facility-content {
  padding: 1.5rem;
}

.facility-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.facility-text {
  color: #666;
  margin-bottom: 0;
}

/* *Lecturers */
.lecturer-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.lecturer-image {
  height: 250px;
  overflow: hidden;
}

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

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

.lecturer-content {
  padding: 1.5rem;
  text-align: center;
}

.lecturer-name {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lecturer-position {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.lecturer-expertise {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.lecturer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.lecturer-social a {
  color: var(--accent);
  transition: color 0.3s ease;
}

.lecturer-social a:hover {
  color: var(--primary);
}

/* *Research */
.research-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.research-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.research-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.research-text {
  color: #666;
  margin-bottom: 1rem;
}

/* *Achievements */
.achievement-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.achievement-icon {
  width: 40px;
  height: 40px;
  background-color: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.achievement-content h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.achievement-content p {
  color: #666;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* *Footer */
.main-footer {
  background-color: var(--primary);
  color: var(--white);
}

.footer-logo {
  width: 100%;
  max-height: 90px;
}

.footer-title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ccc;
  padding-left: 5px;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: var(--secondary);
  color: var(--white);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.5);
}

/* *Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 1rem;
  width: 60px;
  height: 60px;
  background-color: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  text-decoration: none;
}

.back-to-top:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* *Parallax Sections */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.parallax-section-dark {
  background: linear-gradient(135deg, var(--primary) 0%, #001a3e 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.parallax-section-dark::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../img/pattern.jpeg");
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.1;
  z-index: 0;
}

.parallax-section-light {
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.parallax-section-light::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../img/pattern.jpeg");
  background-attachment: fixed;
  background-size: cover;
  opacity: 0.03;
  z-index: 0;
}

/* *Section Header */
.section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* *Particles Container */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* *Location Badge */
.location-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-top: 1rem;
}

/* *Floating Animation */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* *Badge Link */
.badge-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.badge-link:hover {
  transform: scale(1.05);
}

/* *Counter Section */
.counter-section {
  position: relative;
  z-index: 1;
}

.counter-item {
  color: var(--white);
}

.counter-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.counter-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.counter-text {
  font-size: 1.1rem;
}

/* *Logo Grid Styles */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  /* max-width: 1200px; */
}

/* .logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
} */

.logo-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 150px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.logo-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

/* .logo-item {
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo-item:hover {
  transform: translateY(-5px);
} */

.logo-img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(100%) brightness(0.8) contrast(1.2);
}

/* .logo-img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(100%) brightness(0.8) contrast(1.2);
} */

.hospital-logo {
  max-height: 60px;
}

.logo-item:hover .logo-img {
  filter: grayscale(0%) brightness(1) contrast(1);
}

.logo-overlay {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  border-radius: 0 0 12px 12px;
  padding: 2px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* .logo-overlay {
  position: absolute;
  bottom: -25px;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
} */

.logo-item:hover .logo-overlay {
  opacity: 1;
  bottom: 10px;
}

.logo-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
}

/* *Section Background Variations */
.services-section {
  background-color: #fff;
}

.partnerships-section {
  background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
  }

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

  .hospital-logo {
    max-height: 50px;
  }
}

/* *Testimonial Section Styles */
.testimonial-section {
  background-color: #f8f9fa;
  position: relative;
  padding: 4rem 0;
}

.testimonial-row {
  margin: 0 -10px;
}

.testimonial-row>div {
  padding: 0 10px;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  color: #e6e9f0;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.testimonial-text {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.testimonial-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a4a4a;
  font-style: italic;
}

.testimonial-divider {
  border-top: 1px solid #eee;
  margin: 1rem 0;
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-info h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.testimonial-info p {
  color: #777;
  margin: 0;
  font-size: 0.85rem;
}

/* *Custom Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.carousel-inner .carousel-item {
  padding: 8px 0;
}

.carousel-indicators {
  position: static;
  margin: 0 1rem;
  justify-content: center;
}

.carousel-indicators button {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: #ddd !important;
  opacity: 1 !important;
  margin: 0 5px !important;
  border: none !important;
}

.carousel-indicators button.active {
  background-color: var(--primary) !important;
  transform: scale(1.2);
}

.carousel-controls .carousel-control-prev,
.carousel-controls .carousel-control-next {
  position: static;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 15px;
  height: 15px;
  background-size: 100%;
  filter: invert(1) brightness(0.2);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--primary);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  filter: invert(0) brightness(1);
}

/* *Responsive adjustments */
@media (max-width: 991.98px) {
  .testimonial-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .carousel-item .row {
    flex-direction: column;
  }

  .carousel-item .col-md-4 {
    width: 100%;
    margin-bottom: 20px;
  }

  .testimonial-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* *CTA Section */
.cta-section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}


/* * Struktur Organisasi Specific Styles */
.org-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.3s ease;
  border-top: 4px solid var(--primary);
  margin-bottom: 30px;
}

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

.org-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 4px solid #f0f0f0;
  display: block;
}

.org-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
  text-align: center;
}

.org-position {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 15px;
  text-align: center;
  font-weight: 500;
}

.org-info {
  font-size: 13px;
  color: #777;
  text-align: center;
}

.org-social {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 10px;
}

.org-social .org-link {
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: all 0.3s ease;
  text-decoration: none;
}

.org-social .org-link:hover {
  background-color: var(--primary);
  color: white;
}

.org-social .org-link.icon {
  width: 32px;
  height: 32px;
  color: #555;
  border-radius: 50%;
}

.org-social .org-link.text {
  width: 70px;
  height: 32px;
  color: #555;
  border-radius: 10px;
}

.org-divider {
  width: 50px;
  height: 2px;
  background-color: var(--primary);
  margin: 10px auto;
  opacity: 0.5;
}

.org-level-title {
  background-color: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 30px;
  display: inline-block;
}

.org-chart {
  position: relative;
  margin-bottom: 50px;
}

.org-chart::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 2px;
  background-color: var(--primary);
  opacity: 0.3;
  transform: translateX(-50%);
  z-index: -1;
}

.org-level {
  position: relative;
  margin-bottom: 50px;
}

.org-level:last-child {
  margin-bottom: 0;
}

.org-level::after {
  content: '';
  display: table;
  clear: both;
}

.org-level-header {
  text-align: center;
  margin-bottom: 30px;
}

.org-connector {
  position: absolute;
  width: 2px;
  background-color: var(--primary);
  opacity: 0.3;
  z-index: -1;
}

.org-connector-vertical {
  left: 50%;
  transform: translateX(-50%);
}

.org-connector-horizontal {
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.org-chart-download {
  background-color: var(--light-gray);
  padding: 40px 0;
  text-align: center;
  border-radius: 10px;
  margin-top: 50px;
}

@media (max-width: 767.98px) {
  .org-chart::before {
    left: 20px;
  }

  .org-level-header {
    text-align: left;
    padding-left: 50px;
  }

  .org-card {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* *Sambutan Rektor Specific Styles */
.rector-profile {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 2rem;
}

.rector-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rector-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.rector-image:hover img {
  transform: scale(1.03);
}

.rector-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.rector-title {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.rector-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.rector-social a.rector-link {
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.rector-social a.rector-link:hover {
  background-color: var(--primary);
  color: white !important;
}

.rector-social a.rector-link.icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  border-radius: 50%;
}

.rector-social a.rector-link.text {
  width: 90px;
  height: 40px;
  color: var(--primary);
  border-radius: 10px;
}

.welcome-message {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
}

.welcome-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.welcome-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

.welcome-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.welcome-text p {
  margin-bottom: 1.5rem;
}

.welcome-text p:last-child {
  margin-bottom: 0;
}

.welcome-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 1.5rem;
  background-color: rgba(0, 41, 95, 0.05);
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
}

.signature-block {
  margin-top: 3rem;
  text-align: right;
}

.signature-image {
  max-width: 200px;
  margin-bottom: 1rem;
}

.signature-name {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.signature-title {
  color: #666;
  font-size: 0.9rem;
}

.achievement-cards {
  margin-top: 2rem;
}

.achievement-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 1.75rem;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border-bottom: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: transparent;
  transition: all 0.3s ease;
}

.achievement-card:hover::before {
  width: 100%;
  height: 4px;
}

.achievement-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.achievement-card:hover .achievement-icon {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.achievement-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.achievement-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.achievement-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.achievement-card:hover .achievement-title,
.achievement-card:hover .achievement-text {
  color: var(--primary);
}

.rector-achievements {
  background-color: #f8f9fa;
  position: relative;
}

.rector-achievements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.cta-section {
  background-color: #f0f4f8;
  position: relative;
}

.cta-wrapper {
  background-color: var(--primary);
  border-radius: 15px;
  padding: 3rem;
  color: white;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(150px, -150px);
}

.cta-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-100px, 100px);
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-text {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.cta-section .btn-primary {
  background-color: white;
  color: var(--primary);
  border: none;
  /* padding: 0.75rem 2rem; */
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
  .cta-wrapper {
    padding: 2rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .rector-profile {
    text-align: center;
  }

  .rector-social {
    justify-content: center;
  }

  .welcome-title {
    text-align: center;
  }

  .welcome-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .signature-block {
    text-align: center;
  }
}

/* *Penelitian Specific Styles */
.research-intro {
  background-color: #f8f9fa;
  padding: 3rem 0;
  position: relative;
}

.research-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.research-stats {
  background-color: var(--primary);
  padding: 3rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.research-stats::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(150px, -150px);
}

.research-stats::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-100px, 100px);
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

.research-areas {
  padding: 5rem 0;
}

.area-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border-bottom: 4px solid var(--primary);
}

.area-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.area-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.area-card:hover .area-icon {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.area-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.area-text {
  color: #555;
  margin-bottom: 1.5rem;
}

.featured-research {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.research-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.research-image {
  height: 200px;
  overflow: hidden;
}

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

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

.research-content {
  padding: 1.5rem;
}

.research-category {
  display: inline-block;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.research-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.research-excerpt {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.research-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.research-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 0.75rem;
}

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

.author-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}

.research-date {
  font-size: 0.85rem;
  color: #777;
}

.publications {
  padding: 5rem 0;
}

.publication-item {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

.publication-item:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.publication-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.publication-authors {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.publication-journal {
  font-size: 0.85rem;
  font-style: italic;
  color: #777;
  margin-bottom: 0.5rem;
}

.publication-year {
  display: inline-block;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.publication-link {
  display: inline-block;
  margin-left: 1rem;
  color: var(--primary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.publication-link:hover {
  color: var(--secondary);
}

.research-partners {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.partner-logo {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
  max-width: 80%;
  max-height: 80%;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.research-cta {
  padding: 5rem 0;
  background-color: white;
}

.cta-box {
  background-color: var(--primary);
  border-radius: 15px;
  padding: 3rem;
  color: white;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(150px, -150px);
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-100px, 100px);
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-text {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-box .btn-primary {
  background-color: white;
  color: var(--primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.cta-box .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* .tab-content {
  padding: 2rem 0;
} */

.nav-tabs {
  border-bottom: 2px solid #eee;
}

.nav-tabs .nav-link {
  border: none;
  color: #555;
  font-weight: 500;
  padding: 1rem 1.5rem;
  margin-right: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  color: var(--primary);
}

.nav-tabs .nav-link.active {
  color: var(--primary);
  background-color: transparent;
  border: none;
}

.nav-tabs .nav-link.active::after {
  width: 100%;
}

@media (max-width: 991.98px) {
  .stat-number {
    font-size: 2.5rem;
  }

  .cta-box {
    padding: 2rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .stat-item {
    margin-bottom: 2rem;
  }

  .nav-tabs .nav-link {
    padding: 0.75rem 1rem;
    margin-right: 0.5rem;
  }
}

/* *Gallery Specific Styles */
.gallery-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.gallery-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 41, 95, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-icon {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-icon {
  transform: scale(1);
}

.gallery-content {
  padding: 1.5rem;
}

.gallery-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.gallery-date {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* *Video Gallery Styles */
.video-gallery-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

.video-gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.video-thumbnail img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-gallery-card:hover .video-thumbnail img {
  transform: scale(1.1);
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  z-index: 1;
}

.video-play-button:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-content {
  padding: 1.5rem;
}

.video-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.video-date {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* *Modal Styles */
.modal-content {
  border-radius: 10px;
  overflow: hidden;
  border: none;
}

.modal-header {
  background-color: var(--primary);
  color: white;
  border-bottom: none;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-footer {
  border-top: none;
  background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .gallery-image {
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  .gallery-image {
    height: 180px;
  }
}

/* *Contact Page Specific Styles */
/* *Contact Cards */
.contact-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}

.contact-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contact-info {
  /* color: #555; */
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-info a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--light-gray);
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  color: white;
}

/* *Campus Location */
.campus-location {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 2rem;
}

.campus-info {
  padding: 1rem;
}

.campus-badge {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.campus-badge-secondary {
  background-color: var(--secondary);
}

.campus-name {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.campus-address {
  display: flex;
  margin-bottom: 1.5rem;
}

.campus-address i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.campus-address p {
  margin-bottom: 0;
  color: #555;
}

.campus-contact p {
  color: #555;
  margin-bottom: 0.5rem;
}

.campus-contact i {
  color: var(--primary);
}

.campus-hours {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.campus-hours h4 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.campus-hours p {
  color: #555;
  margin-bottom: 0.25rem;
}

.campus-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* *Contact Form */
.contact-form-wrapper {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
}

.form-floating>.form-control,
.form-floating>.form-select {
  height: calc(3.5rem + 2px);
  padding: 1rem 0.75rem;
}

.form-floating>textarea.form-control {
  height: auto;
}

.form-floating>label {
  padding: 1rem 0.75rem;
}

/* *WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 1rem;
  right: 1rem;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: white;
  transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .campus-info {
    padding: 1rem 0;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .campus-location {
    padding: 1.5rem;
  }

  .campus-map {
    margin-top: 1.5rem;
  }

  .campus-map iframe {
    height: 350px;
  }
}

/* *FAQ Page Specific Styles */
/* *FAQ Search Box */
.faq-search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.faq-search-box input {
  height: 60px;
  padding-left: 20px;
  padding-right: 60px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  font-size: 1.1rem;
}

.faq-search-box .search-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-search-box .search-btn:hover {
  background-color: var(--secondary);
}

/* *FAQ Categories */
.faq-categories {
  margin-bottom: 3rem;
}

.faq-category-item {
  display: block;
  text-align: center;
  padding: 1.5rem 1rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: var(--dark);
  height: 100%;
  transition: all 0.3s ease;
}

.faq-category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  color: var(--primary);
}

.faq-category-icon {
  width: 70px;
  height: 70px;
  background-color: var(--light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.faq-category-item:hover .faq-category-icon {
  background-color: var(--primary);
  color: white;
}

.faq-category-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* *FAQ List */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background-color: white;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

.faq-answer p {
  margin-bottom: 1rem;
  color: #555;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: #555;
}

/* *Section Styling */
section {
  scroll-margin-top: 100px;
}

/* *Responsive Adjustments */
@media (max-width: 991.98px) {
  .faq-category-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
  }
}

/* *News Page Specific Styles */
/* *Article Header */
.article-header {
  margin-bottom: 2rem;
}

.article-category {
  margin-bottom: 1rem;
}

.article-category a {
  background-color: var(--primary);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.article-category a:hover {
  background-color: var(--secondary);
}

.article-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #666;
  font-size: 0.9rem;
}

.article-meta i {
  color: var(--primary);
}

/* *Featured Image */
.article-featured-image {
  margin-bottom: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.image-caption {
  background-color: #f8f9fa;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* *Article Content */
.article-content {
  margin-bottom: 2rem;
  color: #444;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #555;
}

.article-content blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-style: normal;
  color: var(--primary);
}

.article-image {
  margin: 2rem 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* *Article Tags */
.article-tags {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.tag-label {
  font-weight: 600;
  color: #444;
  margin-right: 0.5rem;
}

.tag-item {
  display: inline-block;
  background-color: #f0f0f0;
  color: #555;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag-item:hover {
  background-color: var(--primary);
  color: white;
}

/* *Article Share */
.article-share {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.share-label {
  font-weight: 600;
  color: #444;
  margin-right: 1rem;
}

.share-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  margin-right: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-item:hover {
  transform: translateY(-3px);
}

.share-item.facebook {
  background-color: #3b5998;
}

.share-item.twitter {
  background-color: #1da1f2;
}

.share-item.whatsapp {
  background-color: #25d366;
}

.share-item.linkedin {
  background-color: #0077b5;
}

.share-item.telegram {
  background-color: #0088cc;
}

.share-item.copylink {
  background-color: #6c757d;
}

/* *Author Bio */
.author-bio {
  display: flex;
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.author-image {
  flex: 0 0 100px;
  margin-right: 1.5rem;
}

.author-info {
  flex: 1;
}

.author-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.author-position {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.author-description {
  color: #555;
  margin-bottom: 1rem;
}

.author-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #555;
  margin-right: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.author-social a:hover {
  background-color: var(--primary);
  color: white;
}

/* *Related Articles */
.related-articles {
  margin-bottom: 3rem;
}

.section-title-news {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title-news:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.related-article-card {
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.related-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-article-image {
  height: 180px;
  overflow: hidden;
}

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

.related-article-card:hover .related-article-image img {
  transform: scale(1.1);
}

.related-article-content {
  padding: 1.25rem;
}

.related-article-category {
  margin-bottom: 0.75rem;
}

.related-article-category a {
  background-color: var(--primary);
  color: white;
  padding: 0.2rem 0.75rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.related-article-category a:hover {
  background-color: var(--secondary);
}

.related-article-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.related-article-content h4 a {
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-article-content h4 a:hover {
  color: var(--primary);
}

.related-article-date {
  color: #666;
  font-size: 0.85rem;
}

/* *Comments Section */
.comments-section {
  margin-bottom: 3rem;
}

.comment-item {
  display: flex;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.comment-item.comment-reply {
  margin-left: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  border-bottom: none;
}

.comment-avatar {
  flex: 0 0 60px;
  margin-right: 1rem;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.comment-author {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0;
}

.comment-date {
  font-size: 0.85rem;
  color: #666;
}

.comment-text {
  color: #555;
  margin-bottom: 0.75rem;
}

.comment-actions a {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.comment-actions a:hover {
  color: var(--secondary);
}

.comment-form {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
  margin-top: 2rem;
}

.comment-form h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* *Sidebar Widgets */
.sidebar-widget {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.widget-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

/* *Search Widget */
.search-form .input-group {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border-radius: 30px;
  overflow: hidden;
}

.search-form .form-control {
  border: none;
  padding: 0.75rem 1.5rem;
  height: 50px;
}

.search-form .btn {
  padding: 0.75rem 1.25rem;
  border-radius: 0 30px 30px 0;
}

/* *Recent Posts Widget */
.recent-post-item {
  display: flex;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-image {
  flex: 0 0 100px;
  margin-right: 1rem;
}

.recent-post-image img {
  border-radius: 5px;
  width: 100%;
  height: 70px;
  object-fit: cover;
}

.recent-post-content {
  flex: 1;
}

.recent-post-content h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.recent-post-content h5 a {
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.recent-post-content h5 a:hover {
  color: var(--primary);
}

.recent-post-date {
  font-size: 0.8rem;
  color: #666;
}

/* *Categories Widget */
.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.categories-list li a {
  color: #555;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.categories-list li a:hover {
  color: var(--primary);
}

.categories-list li a span {
  background-color: #f0f0f0;
  color: #666;
  padding: 0.1rem 0.5rem;
  border-radius: 30px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.categories-list li a:hover span {
  background-color: var(--primary);
  color: white;
}

/* *Popular Posts Widget */
.popular-post-item {
  display: flex;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #eee;
}

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

.popular-post-number {
  flex: 0 0 40px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.5;
  margin-right: 1rem;
}

.popular-post-content {
  flex: 1;
}

.popular-post-content h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.popular-post-content h5 a {
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.popular-post-content h5 a:hover {
  color: var(--primary);
}

.popular-post-views {
  font-size: 0.8rem;
  color: #666;
}

/* *Tags Widget */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags-cloud .tag-item {
  margin-right: 0;
  margin-bottom: 0;
}

/* *Newsletter Widget */
.newsletter-widget p {
  color: #555;
  margin-bottom: 1.25rem;
}

/* *Social Widget */
.social-widget .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-widget .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-widget .social-link:hover {
  transform: translateY(-3px);
}

.social-widget .social-link.facebook {
  background-color: #3b5998;
}

.social-widget .social-link.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-widget .social-link.twitter {
  background-color: #1da1f2;
}

.social-widget .social-link.youtube {
  background-color: #ff0000;
}

.social-widget .social-link.linkedin {
  background-color: #0077b5;
}

.social-widget .social-link.tiktok {
  background-color: #000000;
}

/* *Banner Widget */
.banner-widget {
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
}

.banner-widget img {
  transition: transform 0.5s ease;
}

.banner-widget:hover img {
  transform: scale(1.05);
}

/* *Responsive Adjustments */
@media (max-width: 991.98px) {
  .article-title {
    font-size: 1.8rem;
  }

  .article-meta {
    gap: 1rem;
  }

  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-image {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .comment-item.comment-reply {
    margin-left: 2rem;
  }
}

@media (max-width: 767.98px) {
  .article-title {
    font-size: 1.5rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .comment-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-date {
    margin-top: 0.25rem;
  }

  .comment-item.comment-reply {
    margin-left: 1rem;
  }
}


/* *News List Page Specific Styles */
/* *Filter Tabs */
.news-filter-section {
  border-bottom: 1px solid #eee;
}

.filter-tabs .nav-pills {
  gap: 0.5rem;
}

.filter-tabs .nav-link {
  color: #555;
  border-radius: 30px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.filter-tabs .nav-link:hover {
  background-color: #f0f0f0;
}

.filter-tabs .nav-link.active {
  background-color: var(--primary);
  color: white !important;
}

/* *Search Box */
.search-box .form-control {
  height: 45px;
  border-radius: 30px 0 0 30px;
  border-right: none;
}

.search-box .btn {
  border-radius: 0 30px 30px 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* *News Card */
.news-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-img-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img {
  transform: scale(1.1);
}

.news-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  z-index: 1;
}

/* Category Badge Colors */
.news-category-badge.akademik {
  background-color: #4caf50;
  /* Green */
}

.news-category-badge.kemahasiswaan {
  background-color: #2196f3;
  /* Blue */
}

.news-category-badge.penelitian {
  background-color: #9c27b0;
  /* Purple */
}

.news-category-badge.prestasi {
  background-color: #ff9800;
  /* Orange */
}

.news-category-badge.event {
  background-color: #e91e63;
  /* Pink */
}

.news-category-badge.beasiswa {
  background-color: #00bcd4;
  /* Cyan */
}

.news-category-badge.pengumuman {
  background-color: #f44336;
  /* Red */
}

.news-category-badge.alumni-karir {
  background-color: #3f51b5;
  /* Indigo */
}

.news-category-badge.kerjasama-kemitraan {
  background-color: #009688;
  /* Teal */
}

.news-category-badge.pengabdian-masyarakat {
  background-color: #8bc34a;
  /* Light Green */
}

.news-category-badge.inovasi-teknologi {
  background-color: #673ab7;
  /* Deep Purple */
}

.news-category-badge.fasilitas-infrastruktur {
  background-color: #795548;
  /* Brown */
}

.news-category-badge.kebijakan-regulasi {
  background-color: #607d8b;
  /* Blue Grey */
}

.news-category-badge.kegiatan-dosen-staf {
  background-color: #ff5722;
  /* Deep Orange */
}

.news-category-badge.layanan-mahasiswa {
  background-color: #03a9f4;
  /* Light Blue */
}

.news-category-badge.workshop-pelatihan {
  background-color: #ffc107;
  /* Amber */
}

.news-category-badge.konten-multimedia {
  background-color: #9e9e9e;
  /* Grey */
}

.news-category-badge.lainnya {
  background-color: #607d8b;
  /* Blue Grey */
}

.news-category-badge.statis {
  background-color: #455a64;
  /* Dark Blue Grey */
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-content h3 a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-content h3 a:hover {
  color: var(--secondary);
}

.news-excerpt {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* *Pagination */
.pagination-container {
  margin-top: 3rem;
}

.pagination .page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 0.25rem;
  color: #555;
  border: none;
  background-color: #f0f0f0;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #e0e0e0;
  color: var(--primary);
}

.pagination .page-item.active .page-link {
  background-color: var(--primary);
  color: white;
}

.pagination .page-item.disabled .page-link {
  background-color: #f8f8f8;
  color: #ccc;
}

/* *Sidebar Widgets */
.sidebar-widget {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.widget-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

/* *Search Widget */
.search-form .input-group {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border-radius: 30px;
  overflow: hidden;
}

.search-form .form-control {
  border: none;
  padding: 0.75rem 1.5rem;
  height: 50px;
}

.search-form .btn {
  padding: 0.75rem 1.25rem;
  border-radius: 0 30px 30px 0;
}

/* *Categories Widget */
.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.categories-list li a {
  color: #555;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.categories-list li a:hover {
  color: var(--primary);
}

.categories-list li a span {
  background-color: #f0f0f0;
  color: #666;
  padding: 0.1rem 0.5rem;
  border-radius: 30px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.categories-list li a:hover span {
  background-color: var(--primary);
  color: white;
}

/* *Recent Posts Widget */
.recent-post-item {
  display: flex;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-image {
  flex: 0 0 100px;
  margin-right: 1rem;
}

.recent-post-image img {
  border-radius: 5px;
  width: 100%;
  height: 70px;
  object-fit: cover;
}

.recent-post-content {
  flex: 1;
}

.recent-post-content h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.recent-post-content h5 a {
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.recent-post-content h5 a:hover {
  color: var(--primary);
}

.recent-post-date {
  font-size: 0.8rem;
  color: #666;
}

/* *Popular Posts Widget */
.popular-post-item {
  display: flex;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #eee;
}

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

.popular-post-number {
  flex: 0 0 40px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.5;
  margin-right: 1rem;
}

.popular-post-content {
  flex: 1;
}

.popular-post-content h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.popular-post-content h5 a {
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.popular-post-content h5 a:hover {
  color: var(--primary);
}

.popular-post-views {
  font-size: 0.8rem;
  color: #666;
}

/* *Tags Widget */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags-cloud .tag-item {
  background-color: #f0f0f0;
  color: #555;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tags-cloud .tag-item:hover {
  background-color: var(--primary);
  color: white;
}

/* *Newsletter Widget */
.newsletter-widget p {
  color: #555;
  margin-bottom: 1.25rem;
}

/* *Banner Widget */
.banner-widget {
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
}

.banner-widget img {
  transition: transform 0.5s ease;
}

.banner-widget:hover img {
  transform: scale(1.05);
}

/* *Responsive Adjustments */
@media (max-width: 991.98px) {
  .filter-tabs .nav-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .filter-tabs .nav-link {
    white-space: nowrap;
  }

  .search-box {
    margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .news-img-container {
    height: 180px;
  }

  .news-content h3 {
    font-size: 1.1rem;
  }
}

/* Hero Carousel Styles */
.hero-carousel {
  position: relative;
  z-index: 2;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  width: 100%;
  margin-left: auto;
  background: #FFF;
}

/* .hero-carousel .carousel-item {
  transition: transform 0.8s ease-in-out;
} */

.hero-carousel .carousel-item {
    padding: 0;
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  /* transition: all 0.3s ease; */
}

.hero-carousel .carousel-control-prev {
  left: 15px;
}

.hero-carousel .carousel-control-next {
  right: 15px;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
  opacity: 1;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  position: absolute !important;
}

.hero-carousel .carousel-indicators {
  position: absolute;
  bottom: 15px;
  margin-bottom: 0;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 3px;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid transparent !important;
  /* transition: all 0.3s ease; */
}

.hero-carousel .carousel-indicators .active {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.2);
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

/* Carousel Image Overlay */
.carousel-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
      rgba(30, 60, 114, 0.3) 0%,
      rgba(42, 82, 152, 0.2) 50%,
      transparent 100%);
  opacity: 0;
  /* transition: opacity 0.3s ease; */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2rem;
  padding-bottom: 4rem;
}

.hero-carousel:hover .carousel-image-overlay .overlay-content h5,
.hero-carousel:hover .carousel-image-overlay .overlay-content p {
  opacity: 1;
}

.hero-carousel .carousel-image-overlay {
  opacity: 1;
}

.overlay-content h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
}

.overlay-content p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .hero-carousel {
    max-width: 100%;
    margin: 2rem 0;
  }

  .hero-carousel .carousel-item img {
    height: 300px;
  }
}

@media (max-width: 767.98px) {
  .hero-carousel .carousel-item img {
    height: 250px;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .hero-carousel .carousel-control-prev-icon,
  .hero-carousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    background-size: 16px 16px;
  }
}

/* Animation for carousel items */
.carousel-item.active {
  animation: slideInRight 0.8s ease-in-out;
}

/* @keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
} */

/* Glow effect for carousel */
.hero-carousel::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  border-radius: 1rem;
  z-index: -1;
  opacity: 0;
  /* transition: opacity 0.3s ease; */
  /* animation: glow-rotate 3s linear infinite; */
}

/* .hero-carousel:hover::before {
  opacity: 0.7;
} */

/* @keyframes glow-rotate {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
} */

/* *Responsive Styles */
@media (max-width: 991.98px) {
  .top-bar {
    display: none;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero-badges {
    justify-content: center;
  }

  .achievement-item {
    margin-bottom: 1rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
  }

  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    right: auto;
  }

  .timeline-date {
    position: relative;
    top: auto;
    left: auto !important;
    right: auto !important;
    width: auto;
    margin-bottom: 1rem;
  }

  .timeline-dot {
    left: -50px !important;
  }

  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tabs .nav-link {
    white-space: nowrap;
  }

  .featured-scholarship {
    margin-top: 0;
  }

  .program-overview {
    margin-top: 0;
  }

  .overview-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 3rem 0 0;
  }

  .quick-links {
    margin-top: -20px;
  }

  .quick-link-card {
    margin-bottom: 1rem;
  }

  .service-card {
    margin-bottom: 1rem;
  }

  .news-card {
    margin-bottom: 1rem;
  }

  .info-card {
    margin-bottom: 1rem;
  }

  .program-image {
    height: 150px;
  }

  .facility-image {
    height: 150px;
  }

  .staff-image {
    height: 200px;
  }

  .scholarship-image {
    height: 150px;
  }

  .overview-stats {
    grid-template-columns: 1fr;
  }

  .facility-image {
    height: 150px;
  }

  .lecturer-image {
    height: 200px;
  }

  .footer-logo {
    width: 100%;
    height: 100%;
  }
}

/* 404 Page Specific Styles */
.error-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.error-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.error-container {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3rem;
}

.error-content {
  text-align: center;
  padding: 5rem 0 3rem;
}

.error-number {
  font-size: 12rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 0 10px 20px rgba(0, 41, 95, 0.1);
  position: relative;
  display: inline-block;
}

.error-number::before {
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(var(--primary-rgb), 0.5);
  /* color: var(--secondary); */
  transform: translate(5px, 5px);
  z-index: -1;
}

.error-number.e400::before {
  content: '400';
}

.error-number.e401::before {
  content: '401';
}

.error-number.e403::before {
  content: '403';
}

.error-number.e404::before {
  content: '404';
}

.error-number.e419::before {
  content: '419';
}

.error-number.e429::before {
  content: '429';
}

.error-number.e500::before {
  content: '500';
}

.error-number.e503::before {
  content: '503';
}

.error-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.error-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-home {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-home:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 41, 95, 0.2);
}

.btn-back {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-back:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 41, 95, 0.2);
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  top: 10%;
  left: 10%;
  width: 80px;
  height: 80px;
  background-color: var(--primary);
  border-radius: 50%;
  animation-delay: 0s;
}

.shape-2 {
  top: 20%;
  right: 15%;
  width: 60px;
  height: 60px;
  background-color: var(--secondary);
  transform: rotate(45deg);
  animation-delay: 2s;
}

.shape-3 {
  bottom: 20%;
  left: 20%;
  width: 100px;
  height: 100px;
  background-color: var(--primary);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-delay: 4s;
}

.shape-4 {
  bottom: 30%;
  right: 10%;
  width: 70px;
  height: 70px;
  background-color: var(--secondary);
  border-radius: 50%;
  animation-delay: 1s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.error-number-animation {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 991.98px) {
  .error-number {
    font-size: 8rem;
  }

  .error-title {
    font-size: 2rem;
  }

  .error-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .error-number {
    font-size: 6rem;
  }

  .error-title {
    font-size: 1.75rem;
  }

  .error-subtitle {
    font-size: 1rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-home,
  .btn-back {
    width: 200px;
  }
}
