* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #0b0c10, #1f2833);
  color: #ffffff;
  min-height: 100vh;
}

/* Glass Effect */
.glass {
  backdrop-filter: blur(10px);
  background: rgba(15, 25, 45, 0.5);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
}

/* Header */
.header {
  width: 100%;
  padding: 15px 0;
  background-color: rgba(0, 0, 0, 0.7);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.nav a {
  color: #00bfff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.nav a:hover {
  color: #1e90ff;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  padding: 40px 20px;
}

.hero-box {
  text-align: center;
  max-width: 700px;
  width: 100%;
}

/* Profile Image */
.profile-image-box {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-image {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00bfff;
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.4);
}

/* Hero Text */
.typing-text {
  font-size: 2rem;
  color: #00bfff;
  line-height: 1.4;
}

.fade-in {
  color: #ffffff;
  margin-top: 10px;
  font-size: 1.1rem;
}

/* Sections */
.section {
  padding: 60px 20px;
  text-align: center;
}

h2 {
  color: #00bfff;
  margin-bottom: 20px;
  font-size: 2rem;
}

/* Skills */
.skill-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: rgba(0, 191, 255, 0.2);
  color: #00bfff;
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: bold;
}

/* Projects */
.flip-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.flip-card {
  background: transparent;
  width: 250px;
  height: 200px;
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  color: #ffffff;
}

.flip-front {
  background: rgba(0, 0, 0, 0.5);
  font-weight: bold;
  font-size: 1.2rem;
}

.flip-back {
  background: rgba(0, 191, 255, 0.2);
  color: #00bfff;
  transform: rotateY(180deg);
  flex-direction: column;
  gap: 10px;
}

/* Resume Section */
.resume-text {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 1rem;
}

.resume-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #00bfff;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  transition: 0.3s ease;
}

.resume-btn:hover {
  background: #1e90ff;
  transform: translateY(-2px);
}

/* Contact */
#contact h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

#contactForm {
  max-width: 500px;
  margin: 0 auto;
  padding: 15px;
}

#contactForm input,
#contactForm textarea,
#contactForm button {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 0.9rem;
}

#contactForm input,
#contactForm textarea {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

#contactForm button {
  background: #00bfff;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#contactForm button:hover {
  background: #1e90ff;
}

/* Message Status */
#msg {
  margin-top: 15px;
  font-weight: bold;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: #00bfff;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .typing-text {
    font-size: 1.6rem;
  }

  .fade-in {
    font-size: 1rem;
  }

  .profile-image {
    width: 140px;
    height: 140px;
  }

  .flip-card {
    width: 90%;
    max-width: 300px;
  }

  h2 {
    font-size: 1.7rem;
  }
}