@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

* {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  text-transform: capitalize;
  transition: .2s linear;
}

html {
  font-size: 62.5%;
}

section {
  padding: 2rem 9%;
}

/* header */
.header {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .logo img {
  height: 4rem;
  display: block;
}

/* home */
.home {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  color: white; /* Ensures text is visible */
  overflow: hidden;
}

/* Background Image + Gradient Overlay */
.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(42, 71, 102, 0.8) 30%, rgba(16, 48, 78, 0.8) 60%), 
              url("/assets/images/PPNSKL.jpg") no-repeat center center / cover;
  opacity: 0.8; /* Controls overall opacity */
  z-index: -1;
}


.home .content {
  max-width: 100%;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}

/* Fix image stacking issue */
.home .content .image {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  gap: 2rem; /* Adds spacing between the images */
}

.home .content .image img {
  height: 15rem;
  display: block;
}

.home .content .image .logo {
  height: 12rem;
  display: block;
}

.home .content .title {
  font-size: 6rem;
  color: #fff;
  text-transform: uppercase;
}

.home .content .title span {
  color: #00c4fa;
  text-transform: uppercase;
}

.home .content .description {
  font-size: 2.5rem;
  font-weight: lighter;
  line-height: 2.0;
  padding: 1rem 0;
  color: #fff;
}

.home .content .btn {
  margin-top: 1rem;
  display: inline-block;
  padding: .9rem 3rem;
  font-size: 1.7rem;
  color: #fff;
  background: #00c4fa;
  cursor: pointer;
}

.home .content .btn:hover {
  letter-spacing: .2rem;
}

/* responsive */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 768px) {
  .home .content .title {
    font-size: 4rem;
  }
  .home .content .description {
    font-size: 1.6rem;
  }
  .home .content .image {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
}
