
body {
  background: #000;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.navbar {
  background-color: #000;
}

.navbar-nav .nav-link {
    color: #fff;
    position: relative;
    transition: color 0.2s;
  }
  
  .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background-color: #b74b4b;
    transition: width 0.3s ease-in-out;
  }
  
  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    width: 100%;
  }
  
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: #b74b4b;
  }



.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  padding: 0 20px 30px 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #b74b4b55 0%, transparent 70%);
    z-index: 0;
  }

.hero-container {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
}

/* Updated hero image style */
.hero-img {
    width: 400px;
    height: 400px;
    background-color: #000;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px 15px #b74b4b;
    animation: floatUpDown 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
  }
  
  /* Animation for smooth float */
  @keyframes floatUpDown {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-12px);
    }
    100% {
      transform: translateY(0);
    }
  }

.hero-img img {
  height: 100%;
  transition: 0.7s ease;
}

.hero-img img:hover {
    transform: scale(1.2) translateY(-5px);
  }

.hero-text {
  max-width: 500px;
  text-align: left;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #fff;
  font-weight: bold;
}

.hero-text h3 {
  color: #fff;
}

#typed-text::after {
    content: '|';
    animation: blink 0.7s infinite;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

.hero-text h1 span {
  color: #b74b4b;
}

.hero-text p {
  max-width: 500px;
  color: #cbd5e1;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin-right: 15px;
  color: #fff;
  transition: all 0.1s ease-in-out;
}

.social-icons a:hover {
  color: #b74b4b !important;
  transform: scale(1.3) translateY(-5px) !important;
}

.btn-hire {
  margin-top: 30px;
  margin-bottom: 20px;
  background-color: transparent;
  color: #b74b4b;
  border: 2px solid #b74b4b;
  padding: 10px 25px;
  border-radius: 25px;
  letter-spacing: 0.2rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.btn-hire:hover {
  background-color: #b74b4b;
  color: #fff;
}

@media (max-width: 768px) {

    .navbar-brand{
        padding-left: 20px;
    }
  .hero-section {
    padding: 60px 55px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 12px;
  }

  .hero-text h3 {
    font-size: 1.3rem;
  }

  .hero-img {
    width: 250px;
    height: 250px;
  }

  .btn-hire {
    margin-bottom: 10px;
  }
}













































/* about section */

.about-section {
    background: #000;
    color: #fff;
    padding: 100px 0 300px 0;
    overflow: hidden;
  }

  .about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
  }

  .about-section.active .about-container {
    opacity: 1;
    transform: translateY(0);
  }

  .about-text {
    flex: 1;
    padding-right: 40px;
  }

  .about-text h1 {
    font-size: 2.5rem;
    color: #fff;
    font-weight: bold;
  }

  .about-text h1 span {
    color: #b74b4b;
  }

  .about-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
  }

  .cv-btn {
    padding: 12px 24px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.5s ease;
  }

  .cv-btn:hover {
    background: #b74b4b;
    color: white;
  }

  .about-img {
    flex: 1;
    position: relative;
    text-align: center;
    transition: 1s ease;
  }

  .about-img img {
    width: 320px;
    height: 320px;
    z-index: 2;
    position: relative;
    animation: float 5s ease-in-out infinite;
    border-radius: 50%;
  }

  .about-img:hover {
    transform: scale(1.4) translateY(-5px) !important;
  }

  .shape-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: white;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
    animation: shapeFade 6s infinite alternate;
  }

  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  @keyframes shapeFade {
    0% {
      transform: translateX(-50%) scale(1);
    }
    100% {
      transform: translateX(-50%) scale(1.1);
    }
  }

  /* Responsive */
  @media (max-width: 768px) {
    .about-container {
      flex-direction: column-reverse;
      text-align: center;
    }

    .about-text {
      padding: 0;
      margin-top: 70px;
      margin-bottom: 40px;
    }

    .about-text p {
      font-size: 14px;
    }

    .about-img {
      margin-top: 20px;
    }
  }










































/* skill section */
  .skills-section {
    padding: 7rem 2rem 20rem 2rem;
    background-color: #000;
    color: #fff;
  }
  
  .skills-header h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
  }
  
  .skills-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
  }
  
  .skills-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap; /* Prevent wrapping */
    gap: 20px;
    margin-top: 2rem;
  }
  
  .skill-card {
    flex: 1;
    max-width: 30%;
    padding: 2rem;
    background: #61606016;
    border: 1px solid #7b4b4b60;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: 0.5 ease;
    z-index: 1;
  }
  
  .skill-card:hover {
    box-shadow: 0 12px 24px rgba(123, 75, 75, 0.4);
    transform: scale(1) translateY(-5px) !important;
  }

  .skill-card i{
    font-weight: bold;
    color: #7b4b4b;
  }
  
  
  .skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .skill-card:hover {
    box-shadow: 0 0 15px #7b4b4b;
    transform: translateY(-5px);
  }
  
  .skill-card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
  }
  
  .skill-card p {
    font-size: 0.95rem;
    color: #555;
  }

  @media (max-width: 768px) {
    .about-section {
        padding-top: 10px;
      }
    .skills-container {
      flex-direction: column;
      align-items: center;
    }
  
    .skill-card {
      max-width: 90%;
      margin-bottom: 1rem;
    }
    .qr-code p{
      font-size: 10px;
    }
  }




















  /* project section */

  .project-grid {
    display: flex;
    flex-wrap: wrap;
  }

  .project-item {
    position: relative;
    width: 33.333%;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
  }

  .project-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 15px;
  }

  .project-title {
    color: white;
    font-weight: bold;
  }

  .project-item:hover {
    animation: bounce-up 0.4s ease;
  }

  .more-link{
    color: #b74b4b;
    float: right;
  }

  @keyframes bounce-up {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-5px); }
  }

  @media (max-width: 768px) {
    .project-item {
      width: 50%;
    }
    .project-item:nth-child(3n) {
      width: 100%;
    }
  }































  /* footer */


.social-links a{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  color: #fff;
  background-color: transparent;
  border: 0.1rem solid #b74b4b;
  font-size: 1rem;
  border-radius: 50%;
  margin-left: 4px;
  transition: 0.3s ease;
}

.social-links a:hover {
  color: #b74b4b;
  transform: scale(1.3) translateY(-5px);
}
