* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header {
  min-height: 60vh;
  width: 100%;
  background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(20, 20, 30, 0.8)), url(img/tes.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}

.logo-kampus {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 50%;
    background-color: transparent !important;
    display: block;
    margin: 0 auto;
    mix-blend-mode: multiply; /* ← ini kunci! menghilangkan background putih */
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  text-decoration: none;
  color: white;
  font-size: 15px;
  font-family: sans-serif;
  position: relative;
}

.nav-links ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background-color: #f44366;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li a:hover::after {
  width: 100%;
}

.dropdown-content {
  display: none; 
  position: absolute;
  background-color: #333; 
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
  padding: 10px 0;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block; 
  text-align: left; 
  font-size: 14px; 
}

.dropdown-content a:hover {
  background-color: #f44366; 
  border-radius: 5px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.text-box {
  width: 90%;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 50px;
  margin: 10px 0 40px;
}


.landscape-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #ffffff;
}

.card-left-header {
  background-color: #0056b3; 
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  min-height: 100%;
}



.card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}



.image-container {
  width: 100%;
  height: 160px; 
  overflow: hidden;
  background-color: #f8f9fa;
  border-bottom: 3px solid #0056b3;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.5s ease;
}

.card:hover .image-container img {
  transform: scale(1.05); 
}


@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.card-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a252f;
}

.card-text {
  font-size: 0.95rem;
  color: #555555;
}



/* Responsif untuk Layar Handphone */
@media (max-width: 768px) {
  .text-box h1 {
    font-size: 32px;
  }
  .card-left-header {
    padding: 15px !important;
    text-align: center;
    border-bottom: 3px solid #f44366; 
  }
}


.mars-section{
    background: linear-gradient(135deg,#0f172a,#1e3a8a,#4f46e5);
    border-radius:20px;
    overflow:hidden;
    position:relative;
}

.mars-section::before{
    content:'';
    position:absolute;
    width:300px;
    height:300px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    top:-120px;
    right:-100px;
}

.mars-section::after{
    content:'';
    position:absolute;
    width:250px;
    height:250px;
    background:rgba(255,255,255,.05);
    border-radius:50%;
    bottom:-120px;
    left:-100px;
}

.mars-content{
    position:relative;
    z-index:2;
    color:white;
}

.mars-icon{
    font-size:4rem;
    color:#ffd54f;
    margin-bottom:15px;
}

.mars-subtitle{
    color:rgba(255,255,255,.8);
    letter-spacing:3px;
    text-transform:uppercase;
    font-size:14px;
}

.mars-title{
    font-size:2.5rem;
    font-weight:700;
    margin-top:10px;
    margin-bottom:30px;
}

.lyric-box{
    max-width:900px;
    margin:auto;
}

.bait{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(8px);
    border-left:5px solid #ffd54f;
    border-radius:15px;
    padding:30px;
    margin-bottom:25px;
    transition:.3s;
}

.bait:hover{
    transform:translateY(-5px);
    background:rgba(255,255,255,.12);
}

.bait p{
    margin:0;
    font-size:1.15rem;
    line-height:2.2;
    text-align:center;
    color:white;
}

@media(max-width:768px){

    .mars-title{
        font-size:1.8rem;
    }

    .bait{
        padding:20px;
    }

    .bait p{
        font-size:1rem;
        line-height:1.9;
    }
}


.site-footer {
  background-color:#26272b;
  padding:45px 0 20px;
  font-size:15px;
  line-height:24px;
  color:#737373;
}

.site-footer hr {
  border-top-color:#bbb;
  opacity:0.5;
  margin: 20px 0;
}

.site-footer h6 {
  color:#fff;
  font-size:16px;
  text-transform:uppercase;
  margin-top:5px;
  letter-spacing:2px;
  margin-bottom: 15px;
}

.site-footer a {
  color:#737373;
}

.site-footer a:hover {
  color:#3366cc;
  text-decoration:none;
}

.footer-links {
  padding-left:0;
  list-style:none;
}

.footer-links li {
  display: block;
  margin-bottom: 8px;
}

/* ==========================
   MOBILE OPTIMIZATION
========================== */
@media (max-width: 768px) {

  nav {
    padding: 20px 15px;
    flex-direction: column;
  }

  .nav-links {
    text-align: center;
    width: 100%;
  }

  .nav-links ul {
    padding: 0;
    margin: 0;
  }

  .nav-links ul li {
    padding: 8px 6px;
  }

  .nav-links ul li a {
    font-size: 13px;
  }

  .dropdown-content {
    min-width: 140px;
  }

  .text-box {
    width: 95%;
  }

  .text-box h1 {
    font-size: 34px;
    margin-bottom: 15px;
  }

  .main {
    padding: 0 15px;
  }

  .main img {
    width: 150px !important;
    height: 150px !important;
    margin: auto;
    display: block;
  }

  .main h2 {
    font-size: 28px;
    margin-top: 15px;
  }

  .main p {
    font-size: 15px;
    line-height: 1.8;
  }

  .card-box {
    padding: 20px;
  }

  .card {
    margin-bottom: 15px;
  }

  .image-container {
    height: 220px;
  }

  .image-container img {
    height: 220px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.9rem;
  }

  .site-footer {
    text-align: center;
    padding: 35px 15px;
  }

  .site-footer .col-md-3,
  .site-footer .col-md-6 {
    margin-bottom: 25px;
  }

  .logo-kampus {
    width: 100px !important;
    height: 100px !important;
  }

} /* ← tutup @media */