/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

:root {
    --header-height: 3.5rem;
  
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    /*
          Purple: hsl(250, 66%, 75%)
          Blue: hsl(207, 90%, 72%)
          Pink: hsl(356, 66%, 75%)
          Teal: hsl(174, 63%, 62%)
    */
    --first-hue: 250;
    --sat: 66%;
    --lig: 75%;
    --second-hue: 219;
    --first-color: hsl(var(--first-hue), var(--sat), var(--lig));
    --first-color-alt: hsl(var(--first-hue), var(--sat), 71%); /* -4% */
    --title-color: hsl(var(--second-hue), 15%, 95%);
    --text-color: hsl(var(--second-hue), 8%, 75%);
    --text-color-light: hsl(var(--second-hue), 4%, 55%);
    --body-color: hsl(var(--second-hue), 48%, 8%);
    --container-color: hsl(var(--second-hue), 32%, 12%);
  
  
    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 1.75rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    --tiny-font-size: .625rem;
  
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semibold: 600;
  
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
  }

  /* Responsive typography */
@media screen and (min-width: 968px) {
    :root {
      --biggest-font-size: 2.5rem;
      --h1-font-size: 2.25rem;
      --h2-font-size: 1.5rem;
      --h3-font-size: 1.25rem;
      --normal-font-size: 1rem;
      --small-font-size: .875rem;
      --smaller-font-size: .813rem;
    }
  }


/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  html {
    scroll-behavior: smooth;
    
  }
  
  body,
  button,
  input,
  textarea {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
  }
  
  body {
    background-color: white;
    color: var(--text-color);
    transition: .4s; /* for light mode animation */
  }
  
  h1, h2, h3 {
    color: var(--title-color);
    font-weight: var(--font-semibold);
  }
  
  ul {
    list-style: none;
  }
  
  a {
    text-decoration: none;
  }
  
  button {
    cursor: pointer;
    border: none;
    outline: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
/* Header & Navigation */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
}

.nav {
  height: 4.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav__logo {
 color: #53b4f9;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}

.nav__menu {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--background-color);
  padding: 1rem 1.5rem;
  border-radius: 4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  color:#53b4f9;
  font-size: 1.5rem;
  transition: var(--transition);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Shadow halus */
}

.nav__link:hover {
  color: white;
}

.nav__link.active {
  position: relative;
  color: white;
  z-index: 1; /* Pastikan ikon tetap di atas */
}

.nav__link.active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: black; /* Warna lingkaran */
  border-radius: 50%;
  z-index: -1;  
  transition: 0.3s ease-in-out;
}



/* Hero Section */
.hero-section {
  padding: 8rem 2rem 4rem;
  
 
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  
}

.hero-font h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
 color: black;
}

.hero-font p {
  font-size: 1rem;

  color: black;
}

  
.hero-image img {
  max-width: 500px;
  height: auto;
  margin-top: 0;
  margin-bottom: 2rem;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .hero-image img {
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  .hero-image img {
    max-width: 100%;
  }
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
 
}

.hero-text h1 {
  color: #000;
  margin-bottom: 1rem;
}

.hero-text p {
  color: #000;
}



.button-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-button {
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.blue-button {
  background-color: black;
  color: white;
}

.orange-button {
  background-color: black;
  color: white;
}

.blue-button:hover{
  background-color: #53b4f9;
}

.orange-button:hover{
  background-color: #53b4f9;
}

/* Tentang Saya */

/* Bagian Judul */
.profile-font {
  text-align: center;
  margin-bottom: 10px;
}

.profile-font p {
  font-size: var(--small-font-size);
  color: #555;
}

.profile-font h1 {
  font-size: var(--h2-font-size);
  color: #333;
  
}

/* Kontainer Utama */
.profile-section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  gap: 20px;
}

/* Gambar Profil */
.profile-left {
  flex: 1;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-left img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Media Query untuk Tablet */
@media (min-width: 810px) and (max-width: 1024px) {
  .profile-left {
    margin-top: 5rem; /* Tambah margin-top khusus untuk iPad */
  }
}

/* HP Layar Besar */
@media (max-width: 430px) {
  .profile-left img {
    width: 1000px;
    margin-bottom: 1.3rem;
  }
}



/* Kontainer Deskripsi */
.profile-right {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-description p {
  font-size: var(--small-font-size);
  color: #333;
  text-align: justify;
  line-height: 1.6;
}

.info-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.info-item i {
  font-size: 1.5rem;
  color: black;
}

.info-item p {
  font-size: var(--small-font-size);
  color: #555;
  margin: 0;
}

/* Media Query untuk Responsif */
@media (max-width: 768px) {
  .profile-container {
      flex-direction: column;
      align-items: center;
  }

  .profile-left {
      max-width: 300px;
  }

  .profile-right {
      width: 100%;
  }

  .info-box {
      gap: 10px;
  }
}

@media (max-width: 480px) {
  .profile-font h1 {
      font-size: 1.8rem;

  }

  .profile-left img {
      max-width: 250px;
  }

  .info-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .info-item i {
      font-size: 2rem;
  }
}






/* Portfolio */

.universities {
  text-align: center;
  padding: 20px;
}

.universities h2 {
  color: black;
  margin-top: 50px;
}

.logos {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100px;
  margin: 50px 0 50px 0;
  
}

.logos-container {
  display: flex;
  gap: 20px;
  animation: scroll 80s linear infinite;
}

.logos-container::after {
  content: '';
  display: flex;
  gap: 20px;
}

.logos-container > * {
  flex-shrink: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 20px));
  }
}
  

/* HP Layar Besar */
@media (max-width: 430px) {
  .logos-container {
    animation: scroll 30s linear infinite;
    gap: 10px;
  }
  .logos-container > * {
    max-height: 60px;
  }
}

.logos-container img {
  height: 80px;
}



/*=============== OUR SERVICES ===============*/
/* Services Section */
.service-font p {
  color: #000;
text-align: center;
}

.service-font h1 {
  color: #000;
  text-align: center;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.service-card h3 {
  color: #000;
  margin-bottom: 1rem;
}

.service-card p {
  color: #000;
}
.service-card button {
  background-color: black;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.service-card button:hover {
  background-color: #53b4f9;
}

/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
}

.popup-content {
  display: none;
  position: relative;
  background-color: black;
  margin: 5% auto;
  padding: 2rem;
  width: 90%;
  max-width: 800px;
  border-radius: 1rem;
  max-height: 80vh;
  overflow-y: auto;
}

.register-button {
  background-color: #25D366;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

.register-button:hover {
  background-color: #02471b;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 6rem 1rem 3rem;
  }
  
  .button-container {
    flex-direction: column;
  }
  
  .services-container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .nav__menu {
    width: 90%;
    padding: 0.75rem 1rem;
  }
  
  .nav__list {
    gap: 1rem;
  }
  
  .hero-font h1 {
    font-size: 2rem;
  }
} 




/* testimoni*/

.carousel-section {
  /* min-height: 100vh; Setidaknya setinggi layar */
  text-align: center;
  padding: 50px 20px;
 
}
.carousel-section h2{
  color: black;
}
.carousel-section h2 span {
  color: #53b4f9;
  font-weight: bold;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: white;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  text-align: left;
}

.carousel-item blockquote {
  color: #444;
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.5;
}

.carousel-item blockquote i {
  color: #53b4f9;
  font-size: 24px;
  margin-right: 10px;
}


.carousel-author {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.carousel-author img {
  border-radius: 100%;
  margin-right: 15px;
  max-width: 10%;
}

.carousel-author h3 {
  margin: 0;
  font-size: 16px;
  font-weight: var(--font-medium);
  color: #444;
 
}

.carousel-author p,
.carousel-author span {
  margin: 0;
  color: #777;
  font-size: 14px;
}



.carousel-indicators {
  text-align: center;
  padding-top: 15px;
}

.carousel-indicators span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #d3d3d3;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-indicators .active {
  background-color: #53b4f9;
}



/* Footer Style */


.footer-font {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

}

.footer-font h1 {
  font-size: var(--h2-font-size);
  color: #000;
}
footer {
  text-align: center;
  padding: 50px;
  margin-bottom: 50px;
}

/* Footer Links */
.footer-links {
 
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 15px;
}



/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 40px; /* Menambahkan jarak antar ikon */
  margin-bottom: 10px;
}

.social-icons a {
  text-decoration: none;
  color: black; /* Warna ikon */
  transition: transform 0.3s;
}

.social-icons i {
  font-size: 40px; /* Ukuran ikon */
  transition: color 0.3s, transform 0.3s;
}

.social-icons i:hover {
  color: #53b4f9; /* Warna ketika di-hover */
  transform: scale(1.2); /* Efek memperbesar saat di-hover */
}

/* footer  */
footer p {
  font-size: 0.9rem;
  color: #000;
}


/* @media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .social-icons img {
    width: 25px;
    height: 25px;
  }
} */