* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #f4f4f4;
  overflow-x: hidden;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 999;
}

nav h3 {
  color: white;
  font-size: 24px;
  text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

nav a {
  color: white;
  margin-left: 25px;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
}

nav a:hover {
  color: #c7d2fe;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: white;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.hero-left,
.hero-right {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.hero-left img,
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
  filter: brightness(70%);
}

.hero-left img:hover,
.hero-right img:hover {
  transform: scale(1.08);
}

/* OVERLAY */
.hero-left::after,
.hero-right::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-left::after {
  background: linear-gradient(
    to right,
    rgba(14,37,100,0.9),
    rgba(14,37,100,0.2)
  );
}

.hero-right::after {
  background: linear-gradient(
    to left,
    rgba(158,1,1,0.9),
    rgba(158,1,1,0.2)
  );
}

/* HERO CONTENT */
.hero-content {
  position: absolute;
  z-index: 10;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: white;
  animation: fadeUp 1s ease;
}

.hero-content h1 {
  font-size: 70px;
  margin-bottom: 20px;
  text-shadow:
    0 0 20px rgba(255,255,255,0.3),
    0 0 40px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 18px;
  margin-top: 10px;
  text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  border: none;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  background: linear-gradient(45deg, #9e0101, #0e2564);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 0 25px rgba(255,255,255,0.4);
}

/* SECTION */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

/* CARD CONTAINER */
.card-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;

  margin-top: 50px;
}

/* CARD */
.card {
  width: 320px;
  min-height: 620px;

  background: rgba(255,255,255,0.96);

  border-radius: 30px;
  padding: 25px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.18);

  transition: 0.4s;

  display: flex;
  flex-direction: column;
  text-align: center;
}

.card:hover {
  transform: translateY(-12px) scale(1.03);
}

/* IMAGE */
.card img {
  width: 100%;
  height: 260px;

  object-fit: cover;

  border-radius: 22px;

  margin-bottom: 20px;

  transition: 0.4s;
}

.card img:hover {
  transform: scale(1.04);
}

/* TITLE */
.card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  line-height: 1.4;
}

/* WARNA */
.card:first-child h3 {
  color: #0e2564;
}

.card:last-child h3 {
  color: #8d0d0d;
}

/* TEXT */
.card p {
  line-height: 1.8;
  font-size: 17px;

  margin-bottom: 25px;
}

/* BUTTON */
.card .btn {
  margin-top: auto;

  display: inline-block;

  padding: 14px 24px;

  border-radius: 35px;

  text-decoration: none;

  color: white;

  font-weight: 600;

  transition: 0.3s;

  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* BUTTON MALAHAYATI */
.card:first-child .btn {
  background: linear-gradient(45deg, #041543, #123186);
}

.card:first-child .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(9,47,109,0.5);
}

/* BUTTON MARTHA */
.card:last-child .btn {
  background: linear-gradient(45deg, #450606, #841212);
}

.card:last-child .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(233,50,50,0.5);
}


.about-container {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.about-card {
  width: 320px;
  background: white;
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

  transition: 0.4s;
}

.about-card:hover {
  transform: translateY(-10px) scale(1.03);
}

.about-card p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.profile-about {
  width: 140px;
  height: 140px;

  object-fit: cover;

  border-radius: 50%;

  margin-bottom: 20px;

  border: 5px solid #f1f1f1;

  box-shadow: 0 10px 25px rgba(0,0,0,0.2);

  transition: 0.4s;
}

.profile-about:hover {
  transform: scale(1.08);
} 

.socials {
  margin-top: 22px;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 20px;
}

.socials a {
  width: 52px;
  height: 52px;

  display: flex;
  justify-content: center;
  align-items: center;

  background: #f5f5f5;

  border-radius: 50%;

  box-shadow: 0 5px 15px rgba(0,0,0,0.12);

  transition: 0.3s ease;
}

.socials a:hover {
  transform: translateY(-5px) scale(1.08);

  background: linear-gradient(45deg, #0e2564, #9e0101);

  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.socials img {
  width: 26px;
  height: 26px;

  object-fit: contain;

  transition: 0.3s;
}

.socials a:hover img {
  transform: scale(1.1);

  filter: brightness(0) invert(1);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 25px;
  background: #111;
  color: white;
  margin-top: 50px;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media(max-width: 768px){

  nav {
    flex-direction: column;
    gap: 10px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero {
    flex-direction: column;
    height: auto;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    height: 50vh;
  }

}



#galeri{
  background: #f4f4f4
  padding: 80px 8%;
}

#galeri h2{
  font-size: 32px;
  margin-bottom: 30px;
  color: #222;
  font-weight: 700;
}

.gallery-container{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.gallery-container::-webkit-scrollbar{
  height: 8px;
}

.gallery-container::-webkit-scrollbar-thumb{
  background: #cfcfcf;
  border-radius: 20px;
}

.gallery-container::-webkit-scrollbar-track{
  background: transparent;
}

.gallery-item{
  min-width: 260px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  flex-shrink: 0;
}

.gallery-item:hover{
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.gallery-item img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.gallery-item p{
  padding: 16px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
}

@media(max-width:768px){

  #galeri{
    padding: 60px 5%;
  }

  .gallery-item{
    min-width: 220px;
  }

  .gallery-item img{
    height: 270px;
  }

}