/* prettier-ignore-start */

/* =========================
   General / Root                                                                            Searchbar:
========================= */
                                                          /* =============================================================================
                                                              General / Root, Navbar, Home Page, WhyICT Section, About Me, SWOT, 
                                                              Progress Table, FAQ, Aside Button, Progress Bar, Blog, Misc / Spacers
                                                              ============================================================================= */

/* prettier-ignore-end */

:root {
  font-family: "Satoshi";
  overflow-x: hidden;
}

.page-title h1 {
  margin-top: 90px;
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
}

body {
  margin: 0;
  background: #151515;
  color: #ffffff;
  padding-bottom: 0;
}

/* =========================
   Navbar
========================= */
.navbar ul {
  list-style-type: none;
  background-color: #2f2f2f;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0 0 30px 0;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  width: 390px;
  z-index: 1000;
}

.navbar li {
  float: left;
}

.navbar a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  padding: 15px;
  display: block;
  text-align: center;
}

.navbar a:hover,
.navbar a.active {
  background-color: #604eaa91;
  color: #ffffff;
  transition: background-color 0.5s ease-in-out;
}

/* =========================
   Home Page
========================= */
.home-container {
  background-color: #2f2f2f;
  height: 520px;
  position: relative;
  right: 400px;
  top: 130px;
  padding: 20px;
  border-radius: 30px;
  text-align: center;
  width: 300px;
  margin: 0 auto;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}

.pfp {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

.icon-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  z-index: 2;
}

.icons {
  color: white;
  text-decoration: none;
  transition: transform 0.2s;
  z-index: 2;
}

.icons:hover {
  transform: scale(1.1);
  z-index: 2;
  color: #604eaaec;
}

/* =========================
   WhyICT Section 
========================= */
.whyict-container {
  background-color: #2f2f2f;
  position: relative;
  top: 450px;
  left: 0;
  text-align: center;
  width: 600px;
  border-radius: 30px;
  padding: 30px;
  margin: 0 auto;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}

.whyict-content {
  display: flex;
  align-items: flex-start;
}

.whyict-text {
  flex: 1;
  text-align: left;
  color: #ffffff;
}

.whyictimg {
  width: 300px;
  height: auto;
}

.robot {
  position: absolute;
  left: -160px;
  top: -130px;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

.robot iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.phone {
  top: 1px;
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

.phone iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  z-index: 1;
}

/* =========================
   About Me
========================= */
.aboutme {
  background-color: #2f2f2f;
  position: relative;
  left: 3%;
  top: -50px;
  border-radius: 30px;
  text-align: center;
  width: 350px;
  padding: 10px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}

.experience {
  background-color: #2f2f2f;
  position: absolute;
  right: 3%;
  top: 160px;
  border-radius: 30px;
  text-align: center;
  padding: 10px;
  width: 350px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}

/* =========================
   SWOT
========================= */

.swottable {
  background-color: #2f2f2f;
  position: relative;
  left: 11%;
  top: 110px;
  width: 1000px;
  height: 510px;
  border-radius: 30px;
  text-align: center;
  padding: 50px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}

.swot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  width: 100%;
  height: 300px;
  position: relative;
  margin-top: 20px;
}

.swot-box {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  text-align: left;
  border-radius: 10px;
  padding: 20px;
}

.strengths {
  background-color: #6fbbf2;
}

.weaknesses {
  background-color: #f4b87c;
}

.opportunities {
  background-color: #9af2b7;
}

.threats {
  background-color: #f39292;
}

.center-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  pointer-events: none;
}

/* =========================
   Progress Table
========================= */
#progresstable {
  width: 90%;
  max-width: 1000px;
  margin: 80px auto;
  border-collapse: collapse;
  background-color: #2f2f2f;
  color: #ffffff;
  font-family: "Satoshi", sans-serif;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  overflow: hidden;
}

#progresstable th,
#progresstable td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#progresstable th {
  background-color: #604eaa91;
  font-weight: bold;
  font-size: 1rem;
}

#progresstable tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

#progresstable tr:last-child th {
  background-color: transparent;
  border-top: 2px solid #604eaa91;
  font-size: 1rem;
  padding-top: 20px;
  text-align: left;
}

p:has(.legend-red),
p:has(.legend-orange),
p:has(.legend-green) {
  text-align: center;
}

.legend-red {
  color: red;
  font-weight: bold;
}

.legend-orange {
  color: orange;
  font-weight: bold;
}

.legend-green {
  color: limegreen;
  font-weight: bold;
}

/* =========================
   FAQ
========================= */
.faq-container {
  max-width: 800px;
  margin: 100px auto;
  padding: 20px;
  background-color: #1e1e1e;
  border-radius: 20px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  text-align: center;
}

.faq {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #2f2f2f;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.faq ul {
  text-align: left;
}

details {
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

details[open] {
  background-color: #3a3a3a;
}

summary {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  list-style: none;
  position: relative;
}

summary::marker {
  display: none;
}

summary::after {
  content: "➕";
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: "➖";
  transform: rotate(180deg);
}

details p {
  margin-top: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

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

/* =========================
   Aside Button 
========================= */
.asidebutton {
  position: fixed;
  bottom: 20px;
  right: 0px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  z-index: 1100;
}

.asidebutton-toggle {
  background-color: #2f2f2f;
  border: none;
  cursor: pointer;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hz-logo {
  width: 40px;
  height: auto;
}

.asidebutton-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.asidebutton.open .asidebutton-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.asidebutton-link {
  background-color: #2f2f2f;
  color: #f5f5f0;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  transition:
    background-color 0.2s,
    transform 0.2s;
  width: 100px;
  text-align: center;
}

.asidebutton-link:hover {
  background-color: #604eaaec;
  transform: scale(1.05);
}

.asidebutton-toggle img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* smooth easing */
  transform-origin: center;
}

.asidebutton.open .asidebutton-toggle img {
  transform: rotate(15deg) scale(1.15);
}

.asidebutton-toggle:active img {
  transform: scale(0.95) rotate(0deg);
  /* subtle press effect */
}

/* =========================
   Progress Bar
========================= */
.credits-progress-container {
  width: 90%;
  max-width: 1000px;
  margin: 40px auto 20px auto;
  text-align: center;
  color: #ffffff;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 25px;
  background: #2f2f2f;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: #604eaa91;
  border-radius: 15px;
  transition: width 1s ease-in-out;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px 10px #604eaa4e;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 75%;
  width: 2px;
  background-color: grey;
}

/* =========================
   Blog 
========================= */
.blog-container {
  max-width: 1000px;
  margin: 100px auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-card {
  background-color: #2f2f2f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px;
  padding: 20px 30px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: scale(1.02);
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.5);
}

.blog-text {
  flex: 2;
  text-align: left;
}

.blog-text h2 {
  margin-top: 0;
  font-size: 1.8rem;
  color: #ffffff;
}

.blog-text p {
  margin: 10px 0 20px;
  font-size: 1rem;
  color: #f4f4f2;
  line-height: 1.5;
}

.blog-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #604eaa91;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.blog-btn:hover {
  background-color: #604eaaec;
  transform: scale(1.05);
}

.blog-img i {
  font-size: 6rem;
  color: #ffffff;
}

.blog-post {
  max-width: 800px;
  margin: 80px auto;
  padding: 30px 40px;
  background-color: #2f2f2f;
  border-radius: 20px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  line-height: 1.7;
  color: #f5f5f0;
}

.blog-post h2 {
  margin-top: 25px;
  font-size: 1.5rem;
  color: #ffffff;
}

.blog-post p {
  margin: 15px 0;
  font-size: 1rem;
}

.blog-meta {
  margin-top: 25px;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

/* =========================
   Misc / Spacers
========================= */

.spacer100 {
  height: 100px;
}

.spacer500 {
  height: 500px;
}

.scroll-down {
  position: relative;
  bottom: 325px;
  left: 50%;
  font-size: 20px;
  color: #ffffff;
}

.scroll-down-profile {
  position: relative;
  bottom: -576px;
  left: 50%;
  font-size: 20px;
  color: #ffffff;
  z-index: 1;
}
