html {
    scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: radial-gradient(circle at top, #0a0a1a 0%, #000 100%);
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

/* Stars Background */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: 0.7;
  animation: twinkle 4s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Header */
header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
}

header h1 {
  font-size: 4rem;
  margin: 0;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

header p {
  font-size: 1.2rem;
  color: #ccc;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

/* Orbiting Skills */
.skills-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 350px;
  margin-top: -175px;
  margin-left: -175px;
  border-radius: 50%;
  z-index: 0;
}

.skills-circle i {
  font-size: 50px;
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 8px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  position: absolute;
  transform-origin: center center;
}

/* Scroll Arrow */
.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #0ff;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Main Sections */
main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 80px;
}

section {
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(8px);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
  box-sizing: border-box;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}

/* Section Titles */
h2 {
  border-bottom: 2px solid rgba(0, 255, 255, 0.4);
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: #0ff;
  text-transform: uppercase;
  font-size: 1.3rem;
}

/* Job Blocks */
.job {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 15px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.details h3 {
  margin: 0;
  font-size: 1.1rem;
}

.details p {
  margin: 5px 0;
  color: #ccc;
  font-size: 0.9rem;
}

/* Awards */
.awards-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.awards-list li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.awards-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: #0ff;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  text-align: center;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #ccc;
}

.skill-item i {
  font-size: 40px;
  color: #0ff;
}

/* Project Screenshots */
.screenshot {
  width: 100%;
}

.screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  color: #777;
  scroll-snap-align: start;
}

a {
  color: #0ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

iframe {
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  width: 100%;
  height: 315px;
}
