/* ==========================================
              Google Fonts
=========================================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* ==========================================
              Global CSS
=========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  font-family: "Poppins", sans-serif;
}

:root {
  --bg-color: #f2efe7; /* Warna latar belakang utama (putih krem) */
  --second-bg-color: #a8d8e7; /* Warna latar belakang kedua (biru muda) */
  --text-color: #4c8383; /* Warna teks utama (turquoise) */
  --main-color: #006f6a; /* Warna aksen utama (teal) */
  --transition: all 0.4s ease-in;
}

html {
  font-size: 15.5px;
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

section {
  min-height: 100vh;
  min-width: 100%;
  padding: 7rem 9% 2rem;
}

/* ==========================================
              Header
=========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.header.sticky {
  border-bottom: 0.1rem solid rgba(0, 0, 0, 0.2);
}

.logo {
  font-size: 2rem;
  color: var(--text-color);
  font-weight: 600;
  cursor: default;
}

/* ==========================================
              Navbar
=========================================== */
.navbar a {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-left: 3.5rem;
  transition: 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  color: var(--main-color);
}

#menu-icon {
  color: var(--text-color);
  font-size: 2rem;
  display: none;
}

/* ==========================================
              Home
=========================================== */
.home {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.home-img {
  margin-top: 5rem;
  margin-right: -5rem;
  z-index: -1;
}
.home-img img {
  width: 40vw;
  animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.4rem);
  }
  100% {
    transform: translateY(0);
  }
}

.home-content {
  margin-top: -10rem;
  width: 90%;
}
.home-content h3 {
  font-size: 3rem;
  font-weight: 700;
}

span {
  color: var(--main-color);
}

.home-content h1 {
  color: var(--main-color);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.5;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3.4rem;
  height: 3.4rem;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--main-color);
  margin: 3rem 1.5rem 2.5rem 0;
  transition: 0.3s ease;
}

.social-media a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1rem var(--main-color);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2.8rem;
  background: var(--main-color);
  border-radius: 4rem;
  box-shadow: 0 0 1rem var(--main-color);
  font-size: 1.3rem;
  color: var(--second-bg-color);
  font-weight: 600;
  transition: 0.5s ease;
}
.btn:hover {
  box-shadow: none;
}

/* ==========================================
              About
=========================================== */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: var(--second-bg-color);
}
.about-img img {
  width: 34vw;
}
.heading {
  text-align: center;
  font-size: 3.5rem;
}
.about-content h2 {
  text-align: left;
  line-height: 1.2;
}
.about-content h3 {
  font-size: 2.1rem;
}
.about-content p {
  font-size: 1.1rem;
  margin: 2rem 0 3rem;
}

/* ==========================================
              Services
=========================================== */
.services h2 {
  margin-bottom: 5rem;
}

.services-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 5rem;
}
.services-container .services-box {
  flex: 1 1 25rem;
  background: var(--second-bg-color);
  padding: 1rem 2rem 4rem;
  border-radius: 2rem;
  text-align: center;
  border: 0.2rem solid var(--bg-color);
  transition: 0.5s ease;
}
.services-container .services-box:hover {
  border-color: var(--main-color);
  transform: scale(1.02);
}
.services-box i {
  font-size: 5rem;
  color: var(--main-color);
}
.services-box h3 {
  font-size: 2.1rem;
}

.services-box p {
  font-size: 1rem;
  margin: 1rem 0 1.5rem;
}

 /* ==========================================
                  Experience Section
      =========================================== */
      .Experience {
        background: var(--second-bg-color);
        padding: 5rem 0;
      }

      .Experience .heading {
        text-align: center;
        font-size: 2.5rem;
        color: #4c8383;
        margin-bottom: 3rem;
      }

      .portfolio-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid */
        gap: 2rem;
        margin: 0 10%;
      }

      .portfolio-box {
        background: #444;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        cursor: pointer;
      }

      .portfolio-box img {
        width: 100%;
        height: auto;
        transition: transform 0.3s ease;
      }

      .portfolio-box:hover img {
        transform: scale(1.05); /* Slight zoom effect on hover */
      }

      .portfolio-layer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 1rem;
        text-align: center;
      }

      .portfolio-layer h4, .portfolio-layer p {
        color: white; /* Set font color to white */
      }

      /* Lightbox styles */
      .lightbox {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
        z-index: 1000;
      }

      .lightbox img {
        max-width: 90%;
        max-height: 80%;
        border-radius: 10px;
      }

      .lightbox-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        color: white;
        cursor: pointer;
      }
    </style>
  </head>
  <body>

/* ==========================================
                Tools Section
=========================================== */
.tools {
  background: #f4f4f4; /* Background area tools */
  padding: 5rem 0;
}

.tools .heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.tools-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Grid layout for responsive design */
  gap: 2rem;
  justify-items: center;
}

.tool-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-10px); /* Hover effect */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tool-img {
  width: 80px; /* Adjust size of logos */
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.tool-title {
  font-size: 1.2rem;
  color: #333;
}

/* ==========================================
              Footer
=========================================== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 9%;
  background: var(--second-bg-color);
}

.footer-text p {
  font-size: 1.1rem;
}

.footer-iconTop a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  background: var(--main-color);
  border-radius: 0.5rem;
  transition: 0.5s ease;
}

.footer-iconTop a:hover {
  box-shadow: 0 0 1rem var(--main-color);
}

.footer-iconTop a i {
  font-size: 1.5rem;
  color: var(--second-bg-color);
}
