/* ===== Global Styles ===== */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #141e30, #243b55);
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* ===== Header ===== */
header {
  text-align: center;
  padding: 50px 20px;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00c6ff;
  box-shadow: 0 0 20px #00c6ff, 0 0 40px #00c6ff50, 0 0 60px #00c6ff30;
  transition: transform 0.3s, box-shadow 0.3s;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #00c6ff, 0 0 60px #00c6ff70, 0 0 90px #00c6ff50;
}

header h1 {
  margin: 15px 0 5px;
  font-size: 28px;
  color: #00c6ff;
}

.subtitle {
  color: #b0c4de;
  font-size: 16px;
}

.social-links a {
  margin: 0 8px;
  font-size: 22px;
  text-decoration: none;
  color: #00c6ff;
  transition: 0.3s;
}

.social-links a:hover {
  color: #ffffff;
}

.resume-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #00c6ff;
  color: #141e30;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.resume-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: 0.4s;
}

.resume-btn:hover::after {
  left: 0;
}

.resume-btn:hover {
  background: #0094cc;
  color: #fff;
}

/* ===== Section Animation ===== */
section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
  margin-bottom: 30px;
}

.about { animation-delay: 0.2s; }
.skills { animation-delay: 0.4s; }
.projects { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== About Section ===== */
.about {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  border-radius: 10px;
}

.about h2 {
  text-align: center;
  color: #00c6ff;
}

/* ===== Skills Section ===== */
.skills {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px 0;
  border-radius: 10px;
}

.skills h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #00c6ff;
}

.skills ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.skills li {
  background-color: #00c6ff;
  color: #141e30;
  margin: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  transition: 0.3s;
}

.skills li:hover {
  background-color: #0094cc;
  color: #fff;
}

/* ===== Projects Section ===== */
.projects {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  border-radius: 10px;
}

.projects h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #00c6ff;
}

.project {
  background: rgba(0, 198, 255, 0.1);
  padding: 20px;
  margin: 15px 0;
  border-radius: 10px;
  transition: transform 0.2s;
}

.project:hover {
  transform: scale(1.02);
}

.project h3 {
  color: #00c6ff;
}

.project a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #00c6ff;
  font-weight: bold;
  transition: 0.3s;
}

.project a:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  margin-top: 40px;
  padding: 15px 0;
  font-size: 14px;
  color: #b0c4de;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  header h1 { font-size: 24px; }
  .skills li { font-size: 0.85rem; padding: 6px 12px; }
  .project { padding: 15px; }
}
