/* Import Google Font */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(120deg, #fdfbfb, #ebedee);
  color: #222;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.hero::before {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.profile-pic {
  width: 170px;
  height: 170px;
  border-radius: 20px;
  border: 5px solid #fff;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: transform 0.4s ease;
}
.profile-pic:hover {
  transform: scale(1.05) rotate(-3deg);
}

.hero-text h1 {
  margin: 0;
  font-size: 2.8rem;
  letter-spacing: 1px;
}
.hero-text h2 {
  margin: 10px 0;
  font-weight: 500;
  font-size: 1.4rem;
  color: #ffe082;
}
.hero-text p {
  font-size: 1.05rem;
  max-width: 650px;
  margin: 10px auto 20px;
}

.hero nav {
  margin-top: 20px;
}
.hero nav a {
  margin: 0 15px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}
.hero nav a:hover {
  background: #ffe082;
  color: #333;
}

/* Section */
.section {
  padding: 70px 20px;
  max-width: 1100px;
  margin: auto;
}
.section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #333;
  position: relative;
}
.section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #667eea;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

/* Card Style */
.card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}
.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.18);
}
.card h3 {
  margin-bottom: 15px;
  color: #667eea;
  font-size: 1.4rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  margin-top: 15px;
  background: linear-gradient(135deg, #ff758c, #ff7eb3);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 105, 135, 0.4);
}

/* Contact Links */
#contact a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
#contact a:hover {
  color: #ff758c;
}

/* Footer */
footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 25px;
  margin-top: 50px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero nav a {
    display: block;
    margin: 10px auto;
    width: max-content;
  }
}
