/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: url('Images/dr15.jpg'); /* Add this line */
  background-size: cover; /* Ensure the image covers the entire background */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent the image from repeating */
}

.nav-left h1 {
  font-family: 'Cloyd', sans-serif;
  font-size: 24px;
  color: #fff;
}

@font-face {
  font-family: 'Cloyd';
  src: url('font/Anurati-Regular.otf') format('opentype');
}

/* Navigation */
.nav-container {
  position: fixed;
  top: 10px; /* Adjust the top position */
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  background: rgba(0, 0, 0, 0.7); /* Purple semi-transparent background */
  backdrop-filter: blur(10px); /* Blur effect */
  z-index: 1000;
  padding: 10px 40px; /* Adjust padding for oblong shape */
  border-radius: 50px; /* Oblong shape */
  display: flex;
  justify-content: center;
  align-items: center;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent; /* Make nav background transparent */
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-left h1 {
  font-size: 24px;
  color: #fff;
}

.nav-left ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-left ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-left ul li a:hover,
.nav-left ul li a:focus {
  color: #e91e63;
}

.nav-left ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 5px;
  right: 0;
  background: #e91e63;
  transition: width 0.3s ease;
}

.nav-left ul li a:hover::after,
.nav-left ul li a:focus::after {
  width: 100%;
  left: 0;
}

.nav-left ul li a:active {
  animation: moveDown 0.3s forwards;
}

@keyframes moveDown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(5px);
  }
}

/* Main Content */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 20px;
  overflow: hidden;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.9) translateX(-100%);
  transition: opacity 0.5s, transform 0.5s;
}

.content.hidden {
  display: none;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.profile-pic {
  margin: 20px 0;
}

.profile-pic img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #e91e63;
}

.new-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #e91e63;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.new-icon:hover {
  transform: scale(1.1);
}

.popup-text {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #000;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
}

.text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.text-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.text-content h2,
.text-content p,
.hire-me {
  text-align: center;
}

.highlight {
  color: #e91e63;
}

.dynamic-text {
  color: #e91e63;
}

.text-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.text-content p {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 30px;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s;
  background-color: #e91e63;
}

.social-icons a:hover {
  background-color: #c2185b;
  transform: translateY(-5px);
}

.hire-me {
  position: relative;
  padding: 15px 40px;
  background-color: #e91e63;
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.5s ease;
}

.hire-me span {
  position: relative;
  z-index: 2;
}

.hire-me::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: blueviolet;
  z-index: 1;
  transition: width 0.5s ease;
  border-radius: 50px;
}

.hire-me:hover::before {
  width: 100%;
}

.hire-me:hover {
  color: #fff;
}

/* Zoom-in and Slide-in Animations */
.zoom-in {
  animation: zoomIn 0.5s forwards;
}

.slide-in {
  animation: slideIn 0.5s forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Zoom-out and Slide-out Animations */
.zoom-out {
  animation: zoomOut 0.5s forwards;
}

.slide-out {
  animation: slideOut 0.5s forwards;
}

@keyframes zoomOut {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.9);
  }
}

@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

.social-icons a {
  border: 2px solid white;
  border-radius: 50%;
  padding: 10px;
  margin: 5px;
  color: white;
  transition: background-color 0.3s, color 0.3s;
}

.social-icons a:hover {
  background-color: white;
  color: black;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

/* Hire Form Container */
.hire-form-container {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hire-form-container h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #e91e63;
  text-align: center;
}

/* Form Group */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: #fff;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #333;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #e91e63;
  outline: none;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 15px;
  background: #e91e63;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #c2185b;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #e91e63;
}

@media (max-width: 768px) {
  .nav-container nav {
    flex-direction: column;
    align-items: center;
  }
  .nav-left h1 {
    font-size: 1.5rem;
  }
  .nav-left ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .nav-left ul li {
    margin: 10px 0;
  }
  .profile-pic img {
    width: 100px;
    height: 100px;
  }
  .text-content h1 {
    font-size: 1.5rem;
  }
  .text-content h2 {
    font-size: 1.2rem;
  }
  .text-content p {
    font-size: 1rem;
  }
  .social-icons a {
    margin: 0 5px;
  }
  .hire-me {
    font-size: 1rem;
    padding: 10px 20px;
  }
  .hire-form-container {
    width: 90%;
  }
}
