:root {
  --bg-color: #0a0a0a;
  --text-color: #ffffff;
  --accent-color: #ff6b35;
  --secondary-color: #1a1a1a;
  --tertiary-color: #2a2a2a;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
nav {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
nav a {
  color: var(--text-color);
  text-decoration: none;
  margin: 0 15px;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}
nav a:hover::after {
  width: 100%;
}
.hero {
  margin-top: 2%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-content {
  margin-top: 3%;
  text-align: center;
  z-index: 2;
}
.hero h1 {
  margin-top: 3%;
  font-size: 3.5rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s forwards 0.5s;
}
.hero p {
  font-size: 1.8rem;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s forwards 0.7s;
}
.headshot-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 30px;
}
.headshot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-color);
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 1s forwards 0.3s;
}
.headshot-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, rgba(255, 107, 53, 0) 70%);
  filter: blur(15px);
  animation: pulse 3s infinite alternate;
}
.light {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, rgba(255, 107, 53, 0) 70%);
  animation: float 5s infinite alternate;
}
.light:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}
.light:nth-child(2) {
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}
.light:nth-child(3) {
  bottom: 10%;
  left: 30%;
  animation-delay: 4s;
}
.section {
  width: 100%;
  padding: 100px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}
.section h2 {
  font-size: 3rem;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}
.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}
.project-slider {
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-slide {
    display:none;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 4%;
 
    transition: opacity 0.5s ease;
}

.project-slide.active {
    display: flex;
    flex-direction: column;
}

.project-image {
  border-radius: 10px;
    width: 100%;
    height: 300px;
   
    flex: 1;
}

.project-content {
    padding: 30px;
    width: 100%;
}

.project-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.project-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.demo-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.demo-button:hover {
    background-color: var(--text-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.slider-control {
    background-color: var(--tertiary-color);
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-control:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

@media (min-width: 768px) {
    .project-slide {
        flex-direction: row;
    }

    .project-image {
        width: 50%;
        height: 400px;
    }

    .project-content {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .project-image {
        height: 200px;
    }

    .project-content h3 {
        font-size: 1.5rem;
    }
}
.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.skill {
  background-color: var(--secondary-color);
  border-radius: 15px;
  padding: 20px;
  width: 150px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.skill::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-color), #ff9f1c);
  z-index: -1;
  filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.skill:hover::before {
  opacity: 1;
}
.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}
.skill i {
  font-size: 3rem;
  margin-bottom: 10px;
}
.skill span {
  font-weight: 600;
}
.contact {
  text-align: center;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.social-icons a {
  color: var(--text-color);
  font-size: 2.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-5px);
}
@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
@keyframes fadeInScale {
  to {
      opacity: 1;
      transform: scale(1);
  }
}
@keyframes float {
  from {
      transform: translateY(0) rotate(0deg);
  }
  to {
      transform: translateY(-20px) rotate(5deg);
  }
}
@keyframes pulse {
  from {
      transform: scale(1);
      opacity: 0.5;
  }
  to {
      transform: scale(1.1);
      opacity: 0.8;
  }
}



