/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #0f2027, #203a43, #2c5364);
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2 {
  margin-bottom: 0.5em;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
}

.hero .profile-img img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transform: rotateY(0deg);
  transition: transform 0.8s;
}

.hero:hover .profile-img img {
  transform: rotateY(360deg);
}

.hero h1 span {
  font-weight: bold;
  font-size: 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-top: 1rem;
}

.signature {
  width: 200px;
  opacity: 0.6;
  margin-top: 1rem;
}

/* Glass Section */
.glass-section {
  background: rgba(255,255,255,0.1);
  margin: 2rem;
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Cards Section */
.cards-section {
  padding: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 15px;
  transition: transform 0.4s, box-shadow 0.4s;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
}

.card:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Skills & Edu */
.skills-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem;
  gap: 2rem;
}

.skills, .education {
  flex: 1;
  min-width: 300px;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

footer a {
  color: #a2ecff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
