
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: poppins, sans-serif;
  background-color: #0f172a;
  color: #fff;
}

.navbar {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  padding: 0;
  min-height: 75px;
}

.navbar-brand {
  color: #fff !important;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

.navbar .nav-link {
  color: #5eead4;
  margin-left: 20px;
}

.navbar .nav-link:hover {
  color: #99f6e4;
}

.first-letter {
 color: #4DA6FF;
}

.navbar-toggler {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  left: 30px;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:hover {
  border-color: #fff;
  box-shadow: none;
  outline: none;
}

@media (max-width: 992px) {
  .navbar-toggler {
    position: relative;
  }
}

.navbar-toggler::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #eee;
  animation: wave 1.5s infinite;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


@keyframes wave {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}


.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;  
  justify-content: center;
  align-items: center;      
  text-align: center;
  padding-top: 100px;
}


.hero-text {
  padding-left: 0;
  margin-bottom: 50px;   
}

.hero-intro {
  color: #4DA6FF;
  font-size: 35px;
  font-weight: 500;
  margin-bottom: 8px;
}

.hero-name {
  color: #ffffff;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 15px;
  min-height: 80px;   
}

.hero-img-wrapper {
  box-shadow: 0 0 40px rgba(255, 76, 96, 0.25);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid white;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
  background-color: #D6C9C3;
  transform: translate(190px, -50px);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}

@media (max-width: 991px) {
  .hero-name {
    min-height: 60px;
  }
}


.about {
  width: 100%;
  padding: 100px 0;

}

.about-content {
  background: #020617;
  border-radius: 24px;
  padding: 40px;
  color: #cbd5f5;
  transition: transform 0.3s ease;
}

.about-content:hover {
  transform: scale(1.02);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #e5e7eb;
  letter-spacing: 2px;
}

.about-text {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 25px;
  color: #e5e7eb;
  line-height: 1.7;
  letter-spacing: 0.5px;
}

/* --- UPDATED BUTTON STYLE --- */
.about .btn, .projects .btn, .contact .btn {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  background: #38bdf8;
  color: #020617;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Hover effect: Background white and lift up */
.about .btn:hover, .projects .btn:hover, .contact .btn:hover {
  background-color: #ffffff !important;
  color: #020617 !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.skills {
  width: 100%;
  padding: 80px 0;
}

.skill-card {
  background: #020617;
  margin: 12px;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  color: #cbd5f5;
  transition: transform 0.2s ease;
}

.skill-card .card-body {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.skill-card:hover {
  transform: translateY(-6px);
}

.projects {
  width: 100%;
  padding: 80px 0;
}

.project-item {
  margin-bottom: 60px;
}

.projects .section-title {
  margin-bottom: 50px;
}


.project-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 20px;
}

.project-title {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #e5e7eb;
}

.project-desc {
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 15px;
  color: #e5e7eb;
  line-height: 1.6;
}

.project-card-wrap {
  background: #020617;
  padding: 30px;
  border-radius: 24px;
  transition:
    transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: 20px;
}

.project-card-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact {
  width: 100%;
  padding: 80px 0;
}


.contact-info {
  background: #020617;
  padding: 30px;
  border-radius: 20px;
  color: #e5e7eb;
  margin-bottom: 30px;
  margin-top: 80px;
  margin-right: 50px;
  transition: transform 0.20s ease;
}

.contact-info:hover {
  transform: translateY(-6px);
}

.contact form {
  background: #020617;
  padding: 30px;
  border-radius: 20px;
}

.contact-heading {
  font-size: 22px;
  font-weight: 500;
  color: #e5e7eb;
  margin-bottom: 15px !important;
}


.contact input,
.contact textarea {
  height: 40px;
  background: #ffffff;
  color: #020617;
  border: 1px solid #334155;
  border-radius: 20px;
}

.contact input:focus,
.contact textarea:focus {
  background: #ffffff;
  color: #020617;
  outline: none;
  box-shadow: none;
  border-color: #cbd5f5;
}


label {
  margin-bottom: 10px;
  margin-left: 10px;
}

.footer {
  width: 100%;
  padding: 50px 0;
  background: #1b263b;
}

.footer-title {
  font-size: 22px;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 8px;
  margin-top: 20px;
}

.footer-text {
  font-size: 16px;
  font-weight: 500;
  color: #e5e7eb;
  margin: 10px 0 20px;
}

.social-links a {
  display: inline-block;
  margin: 0 8px;
}

.social-links img {
  width: 36px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.social-links img:hover {
  opacity: 1;
}

.footer .copyright {
  font-size: 16px;
  color: #cbd5f5;
  margin-top: 20px;
}