* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/*  Background*/
header {
  background:
    radial-gradient(
      ellipse at 0% 0%,
      rgba(141, 74, 255, 0.85) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse at 100% 0%,
      rgba(255, 74, 166, 0.7) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse at 50% 55%,
      rgba(66, 227, 255, 0.45) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(255, 109, 122, 0.6) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse at 0% 100%,
      rgba(141, 74, 255, 0.5) 0%,
      transparent 45%
    ),
    #1a0828;
  width: 100%;
  min-height: 100%;
}

.flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.justify-center {
  justify-content: center;
}
.justify-space {
  justify-content: space-between;
}
.items-center {
  align-items: center;
}
.gap-1 {
  gap: 5px;
}
.white {
  color: white;
}
.remove-underline {
  text-decoration: none;
}
.font- {
  font-family: "Poppins", sans-serif;
}
.m-2 {
  margin: 20px;
}
.p-2 {
  padding: 20px;
}
.py-1 {
  padding-top: 10px;
  padding-bottom: 10px;
}
.py-2 {
  padding-top: 15px;
  padding-bottom: 15px;
}
.px-4 {
  padding-right: 30px;
  padding-left: 30px;
}

/* Navigation section */
.name-size {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: 30px;
  transition:
    background 0.2s,
    color 0.2s;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: 30px;
  backdrop-filter: blur(6px);
}

nav a[href="https://github.com/adityasahu1471"] {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border-radius: 30px;
  backdrop-filter: blur(6px);
}

/* Profile section */
.greeting-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.profile-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  margin: 60px 0 100px;
  gap: 40px;
}

.profile-section .text {
  flex: 5;
  color: white;
}

.profile-section .text h2 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.profile-section .text p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
}

.profile-section .text .links {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-section .text .links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
}

.profile-section .text .links a i {
  font-size: 13px;
  opacity: 0.85;
}

.profile-section .text .links a:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: white;
}

/*Profile image */
.profile-section .profile {
  flex: 2;
  display: flex;
  justify-content: flex-end;
}

.profile-section .profile img {
  width: 400px;
  height: 800px;
  border-radius: 40%;
  object-fit: cover;
  filter: drop-shadow(0 0 40px rgba(141, 74, 255, 0.4));
}

/*Skills section*/
.skills-section {
  padding: 0 60px;
  margin-bottom: 100px;
  color: white;
}

.skills-section h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.skills-section .text {
  text-align: center;
  margin-bottom: 36px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.skills-section .cells {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.skills-section .cells .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 170px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  font-weight: 500;
  transition: all 0.2s ease;
}

.skills-section .cells .cell:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.skills-section .cells .cell img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
}

.skills-section .cells .cell span {
  font-size: 15px;
}

/* Contact form section */
.contact-form-section {
  padding: 80px 0;
}

.form-container {
  padding: 44px;
  background: rgba(255, 255, 255, 0.07);
  width: 520px;
  border-radius: 20px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-container h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.form-container input {
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 20px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: 0;
  border-radius: 50px;
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  transition:
    border 0.2s,
    background 0.2s;
}

.form-container input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.13);
}

.form-container input::placeholder,
.form-container textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-container textarea {
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 20px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: 0;
  border-radius: 20px;
  height: 180px;
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  resize: none;
  transition:
    border 0.2s,
    background 0.2s;
}

.form-container textarea:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.13);
}

.btn-white {
  padding: 14px 40px;
  border-radius: 50px;
  border: 0;
  background: white;
  color: #1a0828;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  width: min-content;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 850px) {
  .profile-section .text h2 {
    font-size: 38px;
  }
}

@media (max-width: 740px) {
  .profile-section {
    flex-direction: column-reverse;
    text-align: center;
  }
  .profile-section .text .links {
    justify-content: center;
  }
  .profile-section .text p {
    margin: 0 auto;
  }
  .greeting-label {
    text-align: center;
  }
  .contact-section .group {
    flex-direction: column;
  }
  .form-container {
    width: 90vw;
  }
}

@media (max-width: 600px) {
  nav a span {
    display: none;
  }
  .profile-section {
    padding: 0 20px;
  }
  .profile-section .text h2 {
    font-size: 30px;
  }
  .skills-section {
    padding: 0 20px;
  }
  .skills-section .cells .cell span {
    font-size: 14px;
  }
  .contact-section {
    padding: 0 20px;
  }
}
