/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #0b0136bb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ff6b6b;
  position: relative;
  display: inline-block;
}

.section-heading h2::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ff6b6b;
}

.section-heading .line {
  width: 80px;
  height: 4px;
  background-color: #ff6b6b;
  margin: 0 auto;
  animation: lineBounce 2s infinite;
}

.btn {
  display: inline-block;
  background-color: #ff6b6b;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #e65c5c;
  transform: translateY(-5px);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(7px);
  background-color: rgba(0, 0, 0, 0.042);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #ff6b6b;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.184);
  transition: text-shadow 0.3s ease;
}

.logo:hover {
  text-shadow: 4px 4px 6px rgba(9, 255, 0, 0.615);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: #000000;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff6b6b;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #ff6b6b;
}

nav ul li a:hover::before {
  width: 100%;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin-bottom: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu-toggle:hover span {
  background-color: #ff6b6b;
}

.menu-toggle:hover span:nth-child(1) {
  transform: translateY(-2px);
}

.menu-toggle:hover span:nth-child(3) {
  transform: translateY(2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, rgba(11, 0, 0, 0.414), rgba(145, 6, 6, 0.458)), url('../../images/home-bg.jpg') no-repeat center;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero-content {
  z-index: 1;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInDown 1s;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 20px;
  animation: fadeInUp 1s 0.5s backwards;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.social-icon {
  display: inline-block;
  color: #fff;
  font-size: 24px;
  margin: 0 10px;
  transition: transform 0.3s ease;
  animation: fadeInUp 1s 0.7s backwards;
}

.social-icon:hover {
  transform: scale(1.2);
  color: #ff6b6b;
}

.btn {
  display: inline-block;
  background-color: #ff6b6b;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: fadeInUp 1s 0.9s backwards;
}

.btn:hover {
  background-color: #e65c5c;
  transform: translateY(-5px);
}

/* About Section */
#about {
  padding: 80px 0;
  background-color: #0b0136bb;
  color: #fff;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-pic img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 25%;
  box-shadow: 0 10px 20px rgba(35, 0, 0, 0.311);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(153, 2, 2, 0.681);
}

.about-text {
  max-width: 600px;
}

.about-text p {
  margin-bottom: 20px;
}

/* Skills Section */
#skills {
  padding: 80px 0;
  background-color: #0b0136bb;
  position: relative;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.skill {
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 10px rgba(185, 3, 3, 0.552);
}

.skill h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ff6b6b;
}

.skill-bar {
  width: 100%;
  height: 20px;
  background-color: #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background-color: #ff6b6b;
  border-radius: 10px;
  transition: width 0.5s ease-in-out;
}

/* Projects Section */
#projects {
  padding: 80px 0;
  background-color: #0b0136bb;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.project {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(192, 5, 5, 0.76);
}

.project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project:hover img {
  transform: scale(1.1);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ff6b6b;
}

.project-info p {
  margin-bottom: 20px;
}




/* Footer */
footer {
  background-color: #12012c;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

/* Animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineBounce {
  0%, 100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0.5);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }
  .hero {
    background-position: 50% center;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    margin-bottom: 30px;
  }

  .input-group {
    flex-direction: column;
  }

  .input-group input {
    margin-right: 0;
    margin-bottom: 20px;
  }
}



