/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #ededed;
  background: linear-gradient(135deg, #000000 0%, #1a237e 100%);
  min-height: 100vh;
  font-size: 14px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 8%;
  background: linear-gradient(90deg, #1a237e, #0ef);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.logo {
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.logo:hover {
  color: #0ef;
  text-shadow: 0 0 20px rgba(0, 238, 255, 0.8);
}

.navbar {
  display: flex;
  gap: 30px;
}

.navbar a {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 35px;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  position: relative;
  padding: 5px 0;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #0ef;
  bottom: 0;
  left: 0;
  transition: all 0.3s ease;
}

.navbar a:hover {
  color: #0ef;
  text-shadow: 0 0 20px rgba(0, 238, 255, 0.8);
}

.navbar a:hover::after {
  width: 100%;
}

/* Home Section */
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 8% 0;
}

.home-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 30px;
}

.text-content {
  max-width: 500px;
}

.text-content h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0ef;
  margin-bottom: 0.5rem;
}

.text-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: #fff;
}

.text-content p {
  font-size: 1.1rem;
  color: #fff;
  margin: 1rem 0;
  line-height: 1.6;
}

.home-sci {
  margin-top: 30px;
  display: flex;
  gap: 25px;
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 2px solid #0ef;
  border-radius: 50%;
  font-size: 24px;
  color: #0ef;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #0ef;
  color: #081b29;
  box-shadow: 0 0 20px #0ef;
  transform: translateY(-5px);
}

.profile-image {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #0ef;
  box-shadow: 0 0 15px #0ef;
  transition: all 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
.about {
  padding: 100px 8% 0;
  background: transparent;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.about-image {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #0ef;
  box-shadow: 0 0 15px #0ef;
  transition: all 0.3s ease;
}

.about-image:hover {
  transform: scale(1.05);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2rem;
  color: #0ef;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Skills Section */
.skills {
  padding: 100px 8% 0;
}

.skills-heading {
  font-size: 2.2rem;
  color: #0ef;
  text-align: center;
  margin-bottom: 40px;
}

.skills-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.technical-skills, .professional-skills {
  flex: 1;
}

.technical-skills h3, .professional-skills h3 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 30px;
}

.skill-item {
  margin-bottom: 25px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.skill-bar {
  height: 12px;
  background: #1a237e;
  border-radius: 6px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: #0ef;
  border-radius: 6px;
  transition: width 1.5s ease;
}

.professional-skills {
  flex: 1;
  padding: 30px 0;
}

.professional-skills h3 {
  font-size: 2.2rem;
  color: #0ef;
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 238, 255, 0.5);
}

.professional-skills-row {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.circular-progress {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
}

.progress-circle svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.progress-circle circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  cx: 60;
  cy: 60;
  r: 50;
}

.progress-bg {
  stroke: rgba(255, 255, 255, 0.1);
}

.progress-fill {
  stroke: #0ef;
  stroke-dasharray: 408;
  stroke-dashoffset: 408;
  transition: stroke-dashoffset 1.5s ease;
  filter: drop-shadow(0 0 5px #0ef);
}

.progress-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 238, 255, 0.8);
}

.skill-name {
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 238, 255, 0.5);
}

/* Projects Section */
.projects {
  padding: 100px 8% 0;
}

.projects-heading {
  font-size: 2.2rem;
  color: #0ef;
  text-align: center;
  margin-bottom: 40px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.project-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(0, 238, 255, 0.3);
}

.project-icon {
  font-size: 3rem;
  color: #0ef;
  margin-bottom: 25px;
}

.project-box h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
}

.project-box p {
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.project-tags span {
  background: #0ef;
  color: #081b29;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 1rem;
}

/* Contact Section */
.contact {
  padding: 100px 8% 0;
}

.contact-heading {
  font-size: 2.2rem;
  color: #0ef;
  text-align: center;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 30px;
}

.contact-info p {
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.8;
  font-size: 1.2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-item i {
  font-size: 1.8rem;
  color: #0ef;
}

.contact-item h4 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.contact-item a {
  color: #0ef;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: #fff;
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px;
  background: transparent;
  border: 2px solid #0ef;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 10px rgba(0, 238, 255, 0.5);
}

.submit-btn {
  background: #0ef;
  color: #081b29;
  padding: 15px 35px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #fff;
  box-shadow: 0 0 20px #0ef;
  transform: translateY(-3px);
}

/* Animation classes */
.animate {
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Project filters */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  background: #f0f0f0;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #007bff;
  color: white;
}

.filter-btn.active {
  background: #007bff;
  color: white;
}

/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.scroll-top-btn.show {
  opacity: 1;
  transform: scale(1);
}

.scroll-top-btn:hover {
  background: #0056b3;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .home-content,
  .about-content,
  .skills-container,
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .profile-image,
  .about-image {
    width: 350px;
    height: 350px;
  }

  .text-content,
  .about-text {
    text-align: center;
  }

  .professional-skills-row {
    gap: 30px;
  }
  
  .circular-progress {
    width: 100px;
    height: 100px;
  }
  
  .progress-circle {
    width: 100px;
    height: 100px;
  }
  
  .progress-circle svg {
    width: 100px;
    height: 100px;
  }
  
  .progress-circle circle {
    cx: 50;
    cy: 50;
    r: 45;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 15px 5%;
  }

  .navbar {
    display: none;
  }

  .text-content h1 {
    font-size: 2.2rem;
  }

  .text-content h3 {
    font-size: 1.8rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .profile-image,
  .about-image {
    width: 300px;
    height: 300px;
  }

  .professional-skills-row {
    flex-direction: column;
    gap: 30px;
  }
  
  .circular-progress {
    width: 90px;
    height: 90px;
  }
  
  .progress-circle {
    width: 90px;
    height: 90px;
  }
  
  .progress-circle svg {
    width: 90px;
    height: 90px;
  }
  
  .progress-circle circle {
    cx: 45;
    cy: 45;
    r: 40;
  }
  
  .progress-value {
    font-size: 20px;
  }
  
  .skill-name {
    font-size: 16px;
  }

  .project-filters {
    gap: 5px;
  }
  
  .filter-btn {
    padding: 6px 12px;
    font-size: 14px;
  }
  
  .scroll-top-btn {
    width: 35px;
    height: 35px;
    bottom: 20px;
    right: 20px;
  }
}

