/* ===== Reset and Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #f9f9f9;
  color: #151515;
  line-height: 1.6;
}

h2 {
  margin-bottom: 20px;
  color: #37eddb;
}

section {
  padding: 60px 20px;
}

/* ===== Header Section ===== */
header {
  background: #646d71;
  color: white;
  padding: 50px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-text h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.header-text h2 {
  font-size: 22px;
  font-weight: 300;
}

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-icons span.icon {
  position: absolute;
  font-size: 24px;
  opacity: 0.3;
  animation: float 10s linear infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-1000px); }
}

/* ===== About Section ===== */
.about-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.3); }
  100% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.6); }
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #00cec9;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #00b894;
}

/* ===== Skills Section ===== */
#skills ul {
  list-style: none;
  padding-left: 0;
}

#skills li {
  margin-bottom: 10px;
  font-size: 18px;
}

/* ===== Projects Section ===== */
.project {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #00b894;
  transition: background 0.3s ease;
}

.project:hover {
  background: #f1f1f1;
}

.project h3 {
  margin-bottom: 10px;
}

.desc {
  font-size: 14px;
  color: #555;
}

/* ===== Services Section ===== */
.services-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.service:hover {
  transform: translateY(-5px);
}

.service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

/* ===== Contact Section ===== */
#contact form {
  max-width: 450px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

#contact input,
#contact textarea {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
}

#contact button {
  padding: 10px;
  background-color: #0984e3;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#thankyou-msg {
  display: none;
  margin-top: 15px;
  color: green;
  font-weight: bold;
  text-align: center;
}