@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
}

:root {
  --bg-color: linear-gradient(45deg, #00abf0, #006e9a);
  --main-color: #00abf0;
  --text-color: #333;
  --second-text-color: #555;
  --white-color: #fff;
  --box-shadow: 0 0.6rem 0 rgba(0, 0, 0, 0.2);
}

body {
  background: var(--bg-color);
  color: var(--white-color);
  line-height: 1.6;
}

/* 🔷 PROFILE SECTION */
.profile-page {
  max-width: 700px;
  margin: 4rem auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.profile-page img {
  width: 180px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.profile-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.profile-page h3 {
  font-size: 1.2rem;
  color: var(--white-color);
  margin-bottom: 1rem;
}

.social-media {
  margin: 1rem 0;
}

.social-media a {
  font-size: 1.5rem;
  color: var(--white-color);
  margin: 0 0.5rem;
  transition: 0.3s;
}

.social-media a:hover {
  color: var(--main-color);
}
 
.top-email {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
}

.top-email a {
  color: #fff;
  text-decoration: none;
}

.top-email a:hover {
  text-decoration: underline;
}

.profile-page img {
  width: 240px; /* 👈 Increased from 180px */
  height: auto;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}

.buttons {
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--white-color);
  color: var(--main-color);
  border-radius: 5px;
  margin: 0 0.4rem;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--main-color);
  color: var(--white-color);
}

/* 🟩 SKILLS SECTION */
.skills-section {
  background: #003e5e;
  padding: 4rem 6rem;
  text-align: center;
}

.skills-section h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--white-color);
}

.rotating-skill-box {
  display: inline-flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 600;
  color: var(--white-color);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.static-text {
  margin-right: 0.5rem;
}

.dynamic-text {
  color: var(--main-color);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.dynamic-text.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.dynamic-text.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* 📬 CONTACT SECTION */
.contact-section {
  background: #002b40;
  padding: 4rem 6rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--white-color);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  resize: none;
}

.contact-form button {
  background: var(--main-color);
  color: var(--white-color);
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #007bbd;
}
