* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
  }
  
  .section-divider {
    border: none;
    border-top: 6px solid #2295ac; 
    margin: 10px 0; 
    width: 100%; 
    margin-left: auto;
    margin-right: auto; 
  }
  
  .container {
    width: 90%;
    margin: 0 auto;
  }
    
  /* Navbar Section */
  nav {
    background-color: #3498db; /* Ganti dengan warna yang diinginkan */
  }

  .custom-bg-btn {
    background-color: #0d5d93; /* Warna latar belakang */
  }

  .custom-bg-btn:hover {
    background-color: #7bcaff; /* Warna latar belakang saat hover */
  }

  @keyframes slideDown {
    0% { max-height: 0; opacity: 0; }
    100% { max-height: 300px; opacity: 1; }
}
.slide-down {
    animation: slideDown 0.3s ease-out;
}
  

/* Ensure other elements don't overlap */
.hero-section {
  position: relative;
  z-index: 1; /* Lower z-index for the hero section */
}

  
  /* Section Program Studi */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
  }
  
  @keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  .program-studi-section {
    padding: 60px 20px;
    padding-top: 10px;
    text-align: center;
    background: linear-gradient(-45deg, #33aae5, #2980b9, #3498db, #9b59b6);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
  }
  
  .program-studi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/motif.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    z-index: 1;
  }
  
  .section-title-program {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
  }
  
  .section-title-program::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #ffffff;
    margin: 15px auto 0;
  }
  
  .program-studi-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
  }
  
  .program-item {
    flex: 0 1 300px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
  }
  
  .program-item:nth-child(1) { animation-delay: 0.2s; }
  .program-item:nth-child(2) { animation-delay: 0.4s; }
  .program-item:nth-child(3) { animation-delay: 0.6s; }
  
  .program-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }
  
  .program-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
  }
  
  .program-item:hover img {
    transform: scale(1.05);
  }
  
  /* Section Supporting Unit */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  .supporting-unit-section {
    padding: 60px 20px;
    margin-top: 20px;
    text-align: center;
    background-color: #33aae5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
  }
  
  .supporting-unit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(51, 170, 229, 0.231), rgba(41, 127, 185, 0.299));
    z-index: 1;
  }
  
  .section-title-support {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
  }
  
  .section-title-support::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #ffffff;
    margin: 15px auto 0;
  }
  
  .supporting-unit-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
  }
  
  .supporting-unit-item {
    flex: 0 1 120px;
    text-align: center;
    position: relative;
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
  }
  
  .supporting-unit-item:nth-child(1) { animation-delay: 0.2s; }
  .supporting-unit-item:nth-child(2) { animation-delay: 0.4s; }
  .supporting-unit-item:nth-child(3) { animation-delay: 0.6s; }
  .supporting-unit-item:nth-child(4) { animation-delay: 0.8s; }
  
  .icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .icon-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .supporting-icon {
    width: 50%;
    height: auto;
    transition: all 0.3s ease;
  }
  
  .icon-circle:hover .supporting-icon {
    transform: scale(1.1);
  }
  
  .icon-caption {
    margin-top: 15px;
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
  }
  
  .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
  }
  
  .sub-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
  }
  
  .sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
  }
  
  .sub-menu-item {
    padding: 10px;
    color: #333;
    font-size: 14px;
    transition: all 0.2s ease;
  }
  
  .sub-menu-item:hover {
    background-color: #f0f0f0;
    border-radius: 5px;
  }
  
  @keyframes highlight {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
  }
  
  .icon-circle.active {
    animation: highlight 1s ease-in-out;
  }
  
  
  /* Section Deskripsi */
  .why-choose-section {
    position: relative;
    padding: 50px 60px;
    padding-bottom: 10px;
    background-color: #f8f9fa;
    text-align: left;
    overflow: hidden;
  }
  .why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2677a0, #11844c);
    opacity: 0.1;
    z-index: 1;
  }
  .why-choose-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
  }
  .section-title-desc {
    font-size: 36px;
    font-weight: bold;
    color: #2677a0;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    animation: slideInFromLeft 1s ease-out;
  }
  .section-title-desc::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #11844c;
    transition: width 0.3s ease;
  }
  .section-title-desc:hover::after {
    width: 100%;
  }
  .section-description {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 0 40px 0;
    display: inline-block;
    animation: fadeIn 1s ease-out 0.5s both;
  }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  .feature-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-delay: calc(var(--animation-order) * 0.2s);
  }
  .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(38, 119, 160, 0.2);
  }
  .feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
  }
  .feature-title {
    font-size: 22px;
    color: #11844c;
    margin-bottom: 15px;
  }
  .feature-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
  }
  @keyframes slideInFromLeft {
    0% {
      opacity: 0;
      transform: translateX(-50px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @media (max-width: 768px) {
    .why-choose-section {
      padding: 60px 30px;
    }
    
    .section-title-desc {
      font-size: 28px;
    }
    
    .section-description {
      font-size: 16px;
    }
    
    .features-grid {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 480px) {
    .why-choose-section {
      padding: 40px 20px;
    }
    
    .section-title-desc {
      font-size: 24px;
    }
    
    .feature-item {
      padding: 20px;
    }
  }
  
  /* Section E-Visit Form */
  .e-visit-form-section {
  position: relative; 
  padding: 100px 100px;
  background-image: url('../images/img.webp');
  background-size: cover; 
  background-position: center; 
  text-align: center; 
  overflow: hidden; 
  }
  
  .image-overlay-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url('../images/topw.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    }
  
  .e-visit-form-section::before {
  content: ""; 
  position: absolute; 
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 84, 30, 0.909); 
  z-index: 1; 
  }
  
  .section-title-evisit {
  position: relative; 
  font-size: 28px;
  font-weight: bold;
  color: #FFFFFF; 
  margin-bottom: 40px;
  z-index: 2;
  }
  
  .section-description-evisit {
  position: relative; 
  font-size: 16px;
  color: #FFFFFF; 
  line-height: 1.6; 
  margin-bottom: 20px; 
  z-index: 2; 
  }
  
  .more-info-button {
  position: relative; 
  display: inline-block; 
  padding: 10px 20px; 
  background-color: #ffffff; 
  color: #000000; 
  text-decoration: none; 
  border-radius: 5px; 
  transition: background-color 0.3s; 
  z-index: 2; 
  }
  
  .more-info-button:hover {
  background-color: #0056b3; 
  }
  
  /* Section Profile Mahasiswa dan Dosen */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 4px 8px rgba(38, 119, 160, 0.1);
    }
    50% {
      box-shadow: 0 8px 16px rgba(38, 119, 160, 0.2);
    }
    100% {
      box-shadow: 0 4px 8px rgba(38, 119, 160, 0.1);
    }
  }
  
  .profile-section {
    padding: 80px 20px;
    background: linear-gradient(rgba(255, 255, 255, 0.301), rgba(255, 255, 255, 0.347)), url('/images/motif.jpg') no-repeat center center; 
    background-size: cover; 
    position: relative;
    text-align: center;
  }
  
  .section-title-profile {
    font-size: 36px;
    color: #2677a0; 
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    animation: fadeInUp 1s ease-out;
  }
  
  .section-title-profile::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #2677a0;
    margin: 15px auto 0;
  }
  
  .section-description {
    font-size: 18px;
    color: #333;
    margin-bottom: 60px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
  }
  
  .profile-box-container {
    display: flex;
    justify-content: center;
    gap: 40px; 
    flex-wrap: wrap;
  }
  
  .profile-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(38, 119, 160, 0.1);
    width: 280px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
  }
  
  .profile-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(38, 119, 160, 0.2);
  }
  

  
  .profile-icon {
    width: 100px; 
    height: auto;
    transition: transform 0.3s ease;
  }
  
  .profile-box:hover .profile-icon {
    transform: scale(1.1);
  }
  
  .profile-box h3 {
    font-size: 24px;
    color: #2677a0; 
    margin-bottom: 15px;
    transition: color 0.3s ease;
  }
  
  .profile-box:hover h3 {
    color: #1c5a7a;
  }
  
  .profile-box p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
  }

  .icon-container {
    display: flex;              /* Gunakan flexbox */
    justify-content: center;    /* Ikon akan berada di tengah secara horizontal */
    align-items: center;        /* Ikon akan berada di tengah secara vertikal */
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

  
  /* Add staggered animation delay for profile boxes */
  .profile-box:nth-child(1) { animation-delay: 0.4s; }
  .profile-box:nth-child(2) { animation-delay: 0.6s; }
  .profile-box:nth-child(3) { animation-delay: 0.8s; }
  
  /* Add a pulsing animation to profile boxes */
  @media (prefers-reduced-motion: no-preference) {
    .profile-box {
      animation: fadeInUp 1s ease-out, pulse 3s infinite;
    }
  }
  
 
  
  /* campus section */
  .campus-section {
    padding: 20px;
    background-image: url('/images/Section.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }
  
  .box-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .campus-item {
    width: 48%;
  }
  
  .campus-item h3 {
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
    color: #075e5d;
  }
  
  .video-container, .map-container {
    margin-top: 10px;
  }
  
  .section-title {
    margin-bottom: 15px;
    font-size: 20px;
    text-align: left;
    color: #333;
  }
  
  /* Media Queries untuk membuat tampilan responsif */
  @media (max-width: 768px) {
    .campus-item {
        width: 100%; /* Lebar penuh untuk layar lebih kecil */
        margin-bottom: 20px; /* Tambah spasi antar item */
    }
  
    .campus-item h3 {
        font-size: 18px; /* Sesuaikan ukuran font */
    }
  
    .video-container, .map-container {
        height: auto; /* Sesuaikan ketinggian untuk layar kecil */
    }
  }
  
  @media (max-width: 480px) {
    .campus-section {
        padding: 10px;
    }
  
    .campus-item h3 {
        font-size: 16px; /* Sesuaikan lagi ukuran font */
    }
  
    iframe {
        height: 200px; /* Sesuaikan tinggi iframe untuk layar sangat kecil */
    }
  }
  

  
/* CSS untuk halaman Akademik */
/* Hero section */
.akademik-hero {
  background-image: url('/images/background.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.akademik-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.akademik-hero h1 {
  color: white;
  font-size: 2rem;
  z-index: 2;
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

/* Title section */
.akademik-title-section {
  padding: 3rem 1rem;
  text-align: center;
}

.akademik-title-section h2 {
  font-size: 2rem;
  color: #33aae5;
}

.akademik-title-section p {
  font-size: 1rem;
  padding-top: 0.625rem;
  color: #004009;
  font-weight: bold;
}

/* Content section */
.akademik-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.akademik-content img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 1rem;
}

.akademik-content .text-section {
  width: 100%;
  max-width: 700px;
}

.akademik-content p {
  font-size: 1rem;
  color: #333;
}

/* Program studi section */
.akademik-program-studi {
  margin: 2rem 0;
  padding: 1rem;
}

.akademik-program-studi h3 {
  font-size: 1.5rem;
  color: #004009;
}

.akademik-program-studi p {
  font-size: 1rem;
  padding-top: 0.625rem;
  color: #555;
}

/* Akreditasi section */
.akreditasi-section {
  text-align: center;
  padding: 2rem 1rem;
}

.akreditasi-section h2 {
  font-size: 1.75rem;
  color: #33aae5;
  margin-bottom: 1.25rem;
}

.akreditasi-description {
  background-color: #f1f1f1;
  padding: 1.25rem;
  border-radius: 8px;
  display: inline-block;
  border: 2px solid #33aae5;
}

.akreditasi-description p {
  font-size: 1rem;
  color: #262424;
  margin: 0;
}

.akreditasi-button {
  margin-top: 1.25rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #33aae5;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.akreditasi-button:hover {
  background-color: #0056b3;
}

/* Media Queries for responsiveness */
@media screen and (min-width: 768px) {
  html {
    font-size: 18px;
  }

  .akademik-hero h1 {
    font-size: 2rem;
  }

  .akademik-content {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }

  .akademik-content img {
    margin-right: 2rem;
    margin-bottom: 0;
  }

  .akademik-content .text-section {
    flex: 2;
    padding-left: 0;
  }

  .akademik-program-studi {
    padding: 1.25rem 6.25rem;
  }
}

@media screen and (min-width: 1024px) {
  html {
    font-size: 20px;
  }

  .akademik-hero {
    min-height: 60vh;
  }

  .akademik-content .text-section {
    padding-left: 3rem;
  }
}

/* Ensure the logos are centered and aligned properly */
.kemitraan-logos {
  width: 100%; /* Ensures the container takes the full width */
  overflow: hidden; /* Hides the overflowing logos */
}

.logos-carousel {
  display: flex; /* Flexbox to arrange logos in a row */
  animation: slide-left 15s linear infinite; /* Animation for continuous sliding */
}

.logo-set {
  display: flex; /* Flexbox for each logo set */
  gap: 1rem; /* Space between logos */
}

@keyframes slide-left {
  0% {
    transform: translateX(0); /* Start from initial position */
  }
  100% {
    transform: translateX(-50%); /* Move by 50% of the total width (half of the logos) */
  }
}


/* Penelitian Hero Section */
/* Hero Section */
.penelitian-hero-sec {
  background-image: url('/images/background.jpeg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.penelitian-hero-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.penelitian-hero-sec h1 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  z-index: 2;
  position: relative;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Content Section */
.penelitian-content {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
  background-color: #f8f9fa;
}

.penelitian-box {
  text-align: center;
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  transition: transform 0.3s ease;
}

.penelitian-box:hover {
  transform: translateY(-10px);
}

.penelitian-box img {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.penelitian-button {
  padding: 15px 40px;
  margin-top: 10px;
  font-size: 1rem;
  background-color: #33aae5;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.penelitian-button:hover {
  background-color: #2980b9;
  box-shadow: 0 5px 15px rgba(51, 170, 229, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .penelitian-hero-sec h1 {
    font-size: 2em;
  }

  .penelitian-box {
    padding: 30px;
    max-width: 90%;
  }

  .penelitian-button {
    width: 100%;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .penelitian-hero-sec h1 {
    font-size: 2rem;
  }

  .penelitian-button {
    padding: 10px;
    font-size: 1rem;
  }
}

/* Hero Section */
.announcement-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/background.jpeg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}

.hero-content-ann h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}



/* Announcements Content Section */
.announcements-content {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 50px;
}

.announcement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.announcement-item {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.announcement-date {
  background-color: #33aae5;
  color: #ffffff;
  text-align: center;
  padding: 10px;
}

.announcement-date .day {
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
}

.announcement-date .month {
  font-size: 1rem;
  text-transform: uppercase;
}

.announcement-details {
  padding: 20px;
}

.announcement-details h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}

.announcement-details p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  color: #33aae5;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #2980b9;
}

.cta-container {
  text-align: center;
  margin-top: 50px;
}

.cta-button {
  display: inline-block;
  background-color: #33aae5;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content-ann h1 {
      font-size: 2rem;
  }

  .hero-subtitle {
      font-size: 1.2rem;
  }

  .section-title {
      font-size: 2rem;
  }

  .announcement-grid {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content-ann h1 {
      font-size: 2rem;
  }

  .hero-subtitle {
      font-size: 1rem;
  }

  .section-title {
      font-size: 1.8rem;
  }

  .announcement-details h3 {
      font-size: 1.2rem;
  }
}

/* Hero Section */


/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
      font-size: 2rem;
  }

  .hero-subtitle {
      font-size: 1.2rem;
  }

  .section-title {
      font-size: 2rem;
  }

  .rector-content {
      flex-direction: column;
  }

  .rector-image {
      width: 100%;
      max-height: 300px;
  }

  .history-content {
      flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
      font-size: 2rem;
  }

  .hero-subtitle {
      font-size: 1rem;
  }

  .section-title {
      font-size: 1.8rem;
  }

  .vmo-item h3 {
      font-size: 1.3rem;
  }

  .rector-info h3 {
      font-size: 1.5rem;
  }
}

.image-overlay-n {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('/images/bottomm.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 10;
  }
  
/* list news */
.nd-news {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.nd-news__title {
  text-align: center;
  color: #2c3e50;
  font-size: 3rem;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  animation: glow 2s ease-in-out infinite alternate;
}

.nd-news__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 50px;
  height: 4px;
  background-color: #3498db;
  transform: translateX(-50%);
}

.nd-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  perspective: 1000px;
}

.nd-news__item {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.nd-news__item:hover {
  transform: rotateY(10deg) translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.nd-news__image-wrapper {
  position: relative;
  overflow: hidden;
}

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

.nd-news__item:hover .nd-news__image {
  transform: scale(1.1) rotate(2deg);
}

.nd-news__category {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(52, 152, 219, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.nd-news__content {
  padding: 20px;
}

.nd-news__item h2 {
  font-size: 1.5rem;
  color: #34495e;
  margin: 0 0 15px;
  line-height: 1.3;
}

.nd-news__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 15px;
}

.nd-news__preview {
  font-size: 1rem;
  color: #34495e;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-info {
  display: inline-block;
  background-color: #3498db;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: auto; /* Membuat button berada di bagian bawah */
}

.btn-info:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-info::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn-info:hover::after {
  animation: ripple 1s ease-out;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.pagination > * {
  margin: 0 5px;
}

.pagination a,
.pagination .active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 8px; /* Rounded corners */
  border: 1px solid #d1d5db; /* Gray border */
  background-color: #ffffff; /* White background */
  color: #4b5563; /* Gray text */
  text-decoration: none; /* Remove underline */
  transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

.pagination a:hover {
  background-color: #3b82f6; /* Blue background on hover */
  color: #ffffff; /* White text on hover */
}

.pagination .active {
  background-color: #3b82f6; /* Active page background */
  color: #ffffff; /* Active page text color */
  border: 1px solid #3b82f6; /* Active border */
}

.pagination .disabled {
  opacity: 0.5; /* Fade for disabled links */
  pointer-events: none; /* Disable pointer events */
}

/* Responsif untuk perangkat kecil */
@media (max-width: 768px) {
  .pagination {
      flex-direction: column; /* Stack on smaller screens */
  }
  .pagination > * {
      margin: 5px 0; /* Adjust margin for vertical layout */
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #3498db, 0 0 20px #3498db;
  }
  to {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #3498db, 0 0 40px #3498db;
  }
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    transform: scale(25, 25);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

@media (max-width: 768px) {
  .nd-news__title {
    font-size: 2.5rem;
  }

  .nd-news__grid {
    grid-template-columns: 1fr;
  }

  .nd-news__image {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nd-news__title,
  .nd-news__item,
  .btn-info,
  .pagination a {
    animation: none;
    transition: none;
  }
}
  /* Footer */
  .footer {
    position: relative; /* Membuat footer tetap di bagian bawah */
    left: 0; /* Mengatur posisi kiri */
    bottom: 0; /* Mengatur posisi bawah */
    width: 100%; /* Memastikan footer mengambil lebar penuh */
    background-color: #333; /* Warna latar belakang footer */
    color: white; /* Warna teks footer */
    text-align: center; /* Memusatkan teks */
    padding: 10px 0; /* Jarak atas dan bawah di footer */
    font-size: 0.9rem; /* Mengurangi ukuran teks */
    z-index: 10; /* Memastikan footer di atas konten lainnya */
}
  
.footer-content {
    display: flex;
    justify-content: space-between; /* Mengatur konten footer dengan jarak */
    align-items: center; /* Menjaga agar konten footer sejajar secara vertikal */
    max-width: 1200px; /* Lebar maksimum konten footer */
    margin: 0 auto; /* Memusatkan konten */
    padding: 0 20px; /* Jarak kiri dan kanan */
}
  
.footer-menu {
    list-style-type: none; /* Menghapus bullet dari list */
    margin: 0; /* Menghapus margin */
    padding: 0; /* Menghapus padding */
    display: flex; /* Menyusun menu secara horizontal */
}

.footer-content p {
  font-size: 0.7rem; /* Mengurangi ukuran teks paragraf */
  margin: 0; /* Menghapus margin default dari <p> */
}

  
.custom-gradient {
  background: linear-gradient(to right, rgba(25, 153, 218, 0.8), rgba(51, 170, 229, 0.74));
}

  
  /* public/css/styles.css */

.bg-visi-misi {
  background: linear-gradient(to right, rgba(51, 170, 229, 0.8), rgba(51, 170, 229, 0.902));
}

/* public/css/styles.css */

.text-custom {
  color: #fafafa; /* Ganti dengan warna yang diinginkan */
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.float { animation: float 3s ease-in-out infinite; }