/* ------------------------ */
/* GENERAL STYLES */
/* ------------------------ */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top right, #0f0f0f, #1a1a1a);
  color: #f0f0f0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2 {
  margin: 0 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ------------------------ */
/* NAVBAR */
/* ------------------------ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(15, 15, 15, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 10px rgba(0, 255, 204, 0.15);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f0eeee;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #00ffcc;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #00ffcc;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* ------------------------ */
/* HERO SECTION */
/* ------------------------ */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  background: linear-gradient(to bottom right, #0f0f0f, #1f1f1f);
  position: relative;
  flex-wrap: wrap;
}

.hero-section h1 {
  font-size: 3.5rem;
  color: #c5eea1;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #00ffcc;
}

.description {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 600px;
}

.typing-skill {
  font-size: 1.5rem;
  color: #00ffcc;
  font-weight: bold;
  margin-top: 20px;
  min-height: 30px;
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  margin: auto;
}

.profile-pic {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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



/* ------------------------ */
/* PROJECT SECTION */
/* ------------------------ */
#projects {
  padding: 100px 10%;
  background: linear-gradient(to bottom, #111, #1a1a1a);
  text-align: center;
}

#projects h2 {
  font-size: 2.8rem;
  color: #00ffcc;
  margin-bottom: 60px;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

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

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 25px;
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.project-card:hover {
  transform: scale(1.05) rotateY(10deg);
  box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
}

.project-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #00ffcc;
}

.project-card p {
  font-size: 1rem;
  color: #ccc;
}

/* ------------------------ */
/* CONTACT SECTION */
/* ------------------------ */
#contact {
  padding: 100px 10%;
  background: linear-gradient(to top, #111, #1a1a1a);
  text-align: center;
}

#contact h2 {
  font-size: 2.8rem;
  color: #00ffcc;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input, textarea {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #1f1f1f;
  color: #fff;
  font-size: 1rem;
}

button {
  background: #00ffcc;
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #00ddb5;
}

/* ------------------------ */
/* RESPONSIVE */
/* ------------------------ */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-image img {
    width: 160px;
    height: 160px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
#about {
  padding: 100px 10%;
  background: #121212;
  text-align: center;
}

#about h2 {
  font-size: 2.5rem;
  color: #00ffcc;
  margin-bottom: 40px;
  text-shadow: 0 0 8px #00ffcc;
}
.about-section {
  padding: 100px 10%;
  background: linear-gradient(to bottom right, #111, #1e1e1e);
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: #00ffcc;
  margin-bottom: 60px;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

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

.about-text {
  flex: 1;
  max-width: 600px;
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.7;
}

.about-text h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

.about-text ul {
  padding-left: 20px;
  margin: 20px 0;
}

.about-text ul li {
  margin-bottom: 10px;
  list-style: square;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 4s ease-in-out infinite;
}

.about-image img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid #00ffcc;
  box-shadow: 0 0 50px rgba(0, 255, 204, 0.5);
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05) rotate(1deg);
}

.social-links {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.social-links a {
  font-size: 1.6rem;
  color: #00ffcc;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
  color: #ffffff;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    width: 180px;
    height: 180px;
  }
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  align-items: center;
}

.about-text {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ccc;
  text-align: left;
}

.about-profile {
  flex-shrink: 0;
  position: relative;
  animation: float 4s ease-in-out infinite;
}

.about-profile img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  border: 4px solid #00ffcc;
  box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
  transition: transform 0.4s ease;
}

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

.about-socials {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.about-socials a {
  font-size: 1.5rem;
  color: #00ffcc;
  transition: transform 0.3s ease;
}

.about-socials a:hover {
  transform: scale(1.2);
  color: #ffffff;
}

/* Edit Button */
.edit-btn {
  margin-top: 10px;
  padding: 6px 14px;
  background-color: #00ffcc;
  border: none;
  color: #000;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.edit-btn:hover {
  background-color: #00ddb5;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-image img {
    width: 160px;
    height: 160px;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}