/* ------- HTML/BODY Stuff */
html {
  width: 100%;
  height: 100%;
}
body {
  position: relative;
  font-family: monospace;
  line-height: 1.6;
  background: #0a0f18;
  color: #b3ffe5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  overflow-x: hidden;
}
html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("background.webp");
  opacity: 0.3;
  z-index: -1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0f18;
}

::-webkit-scrollbar-thumb {
  background: #2a6355;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #7af7ce;
}



/* All text elements */

h1, h2, h3 {
  font-family: 'Arial', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

h1 {
  font-size: 2.5rem;
  color: #7af7ce;
  text-shadow: 0 0 10px rgba(122, 247, 206, 0.5);
  margin-bottom: 2rem;
  border-bottom: 2px solid #2a6355;
  padding-bottom: 15px;
}

h2 {
  font-size: 1.8rem;
  color: #66d9ef;
  margin: 1.5rem 0;
  text-align: right;
}

h3 {
  font-size: 1.3rem;
  color: #c5f467;
  margin: 1rem 0;
}



/* Box styles :) */
.section-box {
  position: relative;
  background: rgba(16, 24, 39, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(122, 247, 206, 0.1);
  padding: 2rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;

}

.section-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7af7ce, transparent);
  
  animation: scanline 2s linear infinite;
}
@keyframes scanline {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}


/* Listed Items */

ul {
  list-style-type: none;
  padding-left: 25px;
}

li {
  margin: 12px 0;
  position: relative;
  transition: transform 0.2s;
}

li:hover {
  transform: translateX(5px);
}

li::before {
  content: ">";
  color: #7af7ce;
  position: absolute;
  left: -20px;
  font-weight: bold;
}


/* Elements inside sections */
.section-box .highlight {
  position: relative;
  background: rgba(122, 247, 206, 0.05);
  border-left: 4px solid #7af7ce;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.completed-courses {
  background: rgba(197, 244, 103, 0.05);
  border: 1px solid rgba(197, 244, 103, 0.2);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.role-distribution {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 2rem 0;
}

.role-card {
  position: relative;
  width: 30%;
  background: rgba(16, 24, 39, 0.9);
  border: 1px solid rgba(122, 247, 206, 0.2);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(122, 247, 206, 0.1);
}

.role-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(122, 247, 206, 0.1),
    transparent
  );
  transform: translateX(-100%) rotate(45deg);
  animation: shimmer 3s infinite;
}
.role-card:nth-child(1)::after {
  animation-delay: 0.5s;
}
.role-card:nth-child(2)::after {
  animation-delay: 1.1s;
}
.role-card:nth-child(3)::after {
  animation-delay: 1.7s;
}
@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.percentage {
  font-size: 3rem;
  color: #7af7ce;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(122, 247, 206, 0.3);
  margin-bottom: 0.5rem;
}

.quote {
  position: relative;
  font-style: italic;
  color: #66d9ef;
  padding: 1rem;
  margin: 1.5rem 0;
}

.quote::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  left: -30px;
  top: -50px;
  opacity: 0.2;
  color: #7af7ce;
}