/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #0c1a25;
  color: white;
  overflow-x: hidden;
}

/* Header */
.header, header {
  background: rgba(9, 19, 28, 0.8);
  backdrop-filter: blur(12px);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #00f0ff;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: flex-end;
  gap: 25px;
}

nav ul li a, .nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover, .nav a.active {
  color: #00f0ff;
}

/* Mobile Menu */
.menu-icon {
  display: none;
  font-size: 28px;
  color: #00f0ff;
  cursor: pointer;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100vh;
  background: rgba(15, 25, 40, 0.75);
  backdrop-filter: blur(15px);
  box-shadow: 3px 0 15px rgba(0, 240, 255, 0.2);
  transition: left 0.4s ease;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 60px 20px;
}

.sidebar.active {
  left: 0;
}

.sidebar a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  margin: 15px 0;
  transition: color 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
  color: #00f0ff;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  color: #00f0ff;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00f0ff;
  color: #09131c;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #00c4ff;
}

.btn-outline {
  background: transparent;
  border: 2px solid #00f0ff;
  color: #00f0ff;
}

.btn-outline:hover {
  background: #00f0ff;
  color: #09131c;
}

/* Intro Section */
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 120px 80px;
}

.intro-text h1 {
  font-size: 48px;
  line-height: 1.2;
}

.intro-text span {
  color: #00f0ff;
}

.intro-text p {
  margin: 20px 0;
  font-size: 18px;
  color: #c4c4c4;
}

.social-links a {
  margin-right: 10px;
  color: white;
  font-size: 24px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #00f0ff;
}

/* Intro Image */
.intro-image {
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(145deg, #7600ff, #00f0ff); */
  border-radius: 50%;
  padding: 15px;
  /* box-shadow: 0 0 30px 15px rgba(0, 240, 255, 0.4); */
}

.intro-image img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 10px solid #0c1a25;
  background: linear-gradient(145deg, #00f0ff, #7600ff);
  padding: 5px;
}

.about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px; 
  text-align: center;
  background-color: #0c1a25;
}

.about-text {
  max-width: 700px;
}

.about-text h2 {
  font-size: 42px;
  margin-bottom: 10px;
}

.about-text h3 {
  font-size: 24px;
  color: #00f0ff;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #c4c4c4;
  margin-bottom: 25px;
}


/* Skills Section */
.skills-section {
  width: 80%;
  margin: auto;
}

.skills-section h2 {
  text-align: center;
  text-transform: uppercase;
  margin: 50px 0 20px;
  border-bottom: 2px solid #fff;
  display: inline-block;
}

.skill-bar {
  margin: 20px 0;
}

.progress {
  background-color: #333;
  border-radius: 20px;
  height: 25px;
  width: 100%;
}

.progress-done {
  background: linear-gradient(to left, #00f260, #0575e6);
  border-radius: 20px;
  height: 100%;
  width: 0;
  opacity: 0;
  transition: 1s ease 0.3s;
}

/* Circular Skills */
.circular-skills {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(#0575e6 calc(var(--percent) * 1%), #333 0);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.inner-circle {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

/* Projects */
/* Detailed Projects Section */
.detailed-projects {
  background-color: #0c1a25;
  color: #fff;
  padding: 70px 20px;
  text-align: center;
}

.detailed-projects h2 {
  font-size: 42px;
  margin-bottom: 50px;
}

.detailed-projects h2 span {
  color: #00f0ff;
}

.project-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin-bottom: 40px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.project-info {
  flex: 1;
  text-align: left;
  padding-right: 30px;
}

.project-info h3 {
  font-size: 24px;
  color: #00f0ff;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 17px;
  color: #c4c4c4;
  margin-bottom: 10px;
}

.project-info ul {
  list-style: disc;
  padding-left: 20px;
  color: #ddd;
  margin-bottom: 10px;
}

.project-image {
  flex: 0 0 250px;
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.github-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: rgba(0, 240, 255, 0.15);
  color: #00f0ff;
  font-weight: 600;
  border: 2px solid #00f0ff;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.github-btn:hover {
  background: #00f0ff;
  color: #0c1a25;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  transform: scale(1.05);
}
/* Contact */
.contact {
  padding: 100px 10%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.contact-info span {
  color: #00f0ff;
}

.contact-subtext {
  font-size: 16px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 25px;
}

.contact-details p {
  font-size: 17px;
  color: #eee;
  margin-bottom: 10px;
}

.contact-social {
  margin-top: 25px;
}

.contact-social a {
  display: inline-block;
  color: #00f0ff;
  font-size: 20px;
  margin-right: 15px;
  transition: 0.3s;
}

.contact-social a:hover {
  color: #fff;
  transform: scale(1.2);
}

/* Form */
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form .btn {
  align-self: flex-start;
}

/* Contact Data Page */
.contact-data-section {
  padding: 120px 20px;
  text-align: center;
}

.contact-data-section h1 {
  color: #00f0ff;
  margin-bottom: 40px;
  font-size: 36px;
}

#contactTable {
  width: 90%;
  margin: auto;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

#contactTable th,
#contactTable td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

#contactTable th {
  background: rgba(0, 240, 255, 0.2);
  color: #00f0ff;
}

#contactTable tr:hover {
  background: rgba(0, 240, 255, 0.1);
}

.center {
  text-align: center;
  margin-top: 20px;
}

/* Footer */
.footer {
  background: rgba(9, 19, 28, 0.8);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 20px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 992px) {
  .intro {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .projects-container {
    flex-direction: column;
  }

  .project-card {
    width: 100%;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  .intro-image img {
    width: 250px;
  }

  section {
    padding: 80px 20px;
  }

  .skills-section {
    width: 90%;
  }

  #contactTable {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 10px 20px;
  }

  .logo {
    font-size: 20px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .circle {
    width: 120px;
    height: 120px;
  }
}
@media (max-width: 900px) {
  .project-detail {
    flex-direction: column;
    text-align: center;
  }
  .project-info {
    padding-right: 0;
  }
  .project-image {
    margin-top: 20px;
  }
}