body { 
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  background: #f5f5f5;
  transition: background 0.3s, color 0.3s;
}
.dark-mode { background: #121212; color: #eaeaea; }

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: #fff;
  padding: 80px 20px;
}

.hero img {
  width: 440px;   /* Increased size */
  height: 440px;  /* Increased size */
  border-radius: 50%;
  border: 8px solid #fff;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;

  /* Glowing shadow effect */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
              0 0 35px rgba(255, 255, 255, 0.4);
}

.section { padding:60px 0; }
.section-title { text-align:center; font-weight:700; margin-bottom:40px; position:relative; }
.section-title::after { content:''; display:block; width:60px; height:4px; background:#0d6efd; margin:10px auto 0; border-radius:3px; }
.glass { background:rgba(255,255,255,0.9); backdrop-filter:blur(10px); border-radius:12px; padding:20px; box-shadow:0 6px 15px rgba(0,0,0,0.1); transition: all 0.3s; }
.dark-mode .glass { background:rgba(25,25,25,0.8); color:#fff; }
.skill-progress { height: 10px; border-radius: 8px; background: rgba(0,0,0,0.1); overflow: hidden; }
.skill-progress .progress-bar { width: 0%; height: 100%; transition: width 1.5s ease-in-out; border-radius: 8px; }
.badge { font-size: 0.9rem; padding: 0.5em 0.8em; border-radius: 50px; transition: transform 0.2s; }
.badge:hover { transform: scale(1.1); opacity:0.85; }
.card { border-radius:12px; overflow:hidden; transition:transform 0.2s; }
.card:hover { transform:translateY(-5px); }
.card img { border-top-left-radius:12px; border-top-right-radius:12
.alert.fade {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
/* Hero Section */


.hero .profile {
  width: 440px;   /* Increased size */
  height: 440px;  /* Increased size */
  border-radius: 50%;
  border: 8px solid #fff;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  
  /* Glowing shadow effect */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
              0 0 35px rgba(255, 255, 255, 0.4);
}
.hero .img:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 55px rgba(0, 0, 0, 0.6),
              0 0 50px rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .hero .img {
    width: 220px;  /* Smaller on tablets */
    height: 220px;
  }
}

@media (max-width: 480px) {
  .hero .img {
    width: 160px;  /* Even smaller on phones */
    height: 160px;
  }
}


.hero h1 {
  font-size: 3rem;
}
.hero h3 {
  font-size: 1.5rem;
  min-height: 35px;
  color: #ffe082;
}
.hero p {
  max-width: 520px;
  font-size: 1.1rem;
}

.hero .btn {
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 1rem;
}

/* Dark Mode */
body.dark-mode .hero {
  background: linear-gradient(135deg, #1a1a1a, #000);
}
