/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #fff1f8, #ffe6f0);
  color: #4a004a;
  padding-top: 70px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ff66b2;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(255, 102, 178, 0.3);
  animation: slideDown 1s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.logo {
  font-size: 22px;
  font-weight: bold;
  animation: sparkle 2s infinite alternate;
}

@keyframes sparkle {
  from { text-shadow: 0 0 6px #ffb6c1, 0 0 12px #ff69b4; }
  to { text-shadow: 0 0 12px #ffc0cb, 0 0 20px #ff1493; }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ffe6f7;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #fff;
  transition: 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Content */
.content {
  padding: 40px 30px;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

h2 {
  font-size: 30px;
  color: #d63384;
  margin-bottom: 20px;
  animation: glitterText 1.5s infinite alternate;
}

@keyframes glitterText {
  0% { text-shadow: 0 0 5px #ff99cc; }
  50% { text-shadow: 0 0 15px #ff66b2; }
  100% { text-shadow: 0 0 5px #ff99cc; }
}

/* Floating Cards */
.project-gallery,
.course-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.project-card,
.course-img {
  background: #fff0f8;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(255, 182, 193, 0.4);
  transition: 0.4s ease;
  animation: float 3s ease-in-out infinite;
}

.project-card:hover,
.course-img:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255, 105, 180, 0.6);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(255, 182, 193, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox-content {
  background: white;
  padding: 25px;
  max-width: 90%;
  border-radius: 15px;
  text-align: center;
  animation: popIn 0.4s ease;
  border: 2px solid #ff69b4;
}

@keyframes popIn {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.close-btn {
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  float: right;
}

/* Contact */
form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

form input,
form textarea {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ff99cc;
  transition: 0.3s ease;
}

form input:focus,
form textarea:focus {
  border: 1px solid #d63384;
  outline: none;
}

form button {
  background: #ff66b2;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Footer */
footer {
  background: #ff66b2;
  color: white;
  padding: 15px;
  text-align: center;
  margin-top: 40px;
  animation: slideUp 1s ease;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: #ff66b2;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ff99cc;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
  animation: float 2s infinite ease-in-out;
}
.profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid transparent;
  box-shadow: 0 0 20px rgba(255, 182, 193, 0.5);
  animation: glow 3s ease-in-out infinite, float 4s ease-in-out infinite;
}

/* Glow Animation */
@keyframes glow {
  0% {
    box-shadow: 0 0 10px #ff99cc, 0 0 20px #ff66b2, 0 0 30px #ff33cc;
    border-color: #ff99cc;
  }
  50% {
    box-shadow: 0 0 20px #ff66b2, 0 0 30px #ff33cc, 0 0 40px #ff66cc;
    border-color: #ff66cc;
  }
  100% {
    box-shadow: 0 0 10px #ff99cc, 0 0 20px #ff66b2, 0 0 30px #ff33cc;
    border-color: #ff99cc;
  }
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}