/* style.css */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
      background-color: #111; /* dark background to test */
  color: #fff;
  }
  
  /* Carousel image style */
  .carousel-item img {
    width: 100%;
    height: 500px; /* Banner height */
    object-fit: cover;
  }
  
  /* Make the carousel item relative to allow absolute positioning inside */
  .carousel-item {
    position: relative;
  }
  
  /* Dark overlay */
  .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
  }
  
  /* Text section */
  .carousel-caption {
    position: absolute;
    z-index: 2;
  }
  
  .carousel-caption-custom {
    top: 50%;
    transform: translateY(-50%);
  }
  
  .carousel-caption-custom h1,
  .carousel-caption-custom h5,
  .carousel-caption-custom p {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  }
  
  /* Hero buttons */
  .hero-buttons .btn {
    margin-right: 10px;
  }
  
  footer {
    background-color: #333; /* same dark gray */
    color: #fff;
    padding: 15px 0;
  }
  .navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
  }
  .navbar-dark .navbar-nav .nav-link.active {
    color: #ff4d4d; /* example active color */
  }
  
.navbar {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); /* stronger and more visible */
  z-index: 1000; /* keep it on top */
}

  .about-profile-img {
    max-width: 100%;
    width: 250px;
    border-radius: 10px;          /* Rounded corners */
    filter: grayscale(100%);      /* Black & white effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Soft shadow */
    display: block;
    margin: 0 auto;
  }


/* New Line  */
.project-card {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 16px;
  color: #fff;
  text-align: left;
  box-shadow: 0 0 0 transparent;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

.project-card:hover {
  border: 2px solid #4af0ff;
  box-shadow: 0 0 20px rgba(74, 240, 255, 0.5);
  transform: translateY(-5px);
}

.project-card h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-card p {
  margin-bottom: 1.5rem;
  color: #cfcfcf;
}

.view-details-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid #4af0ff;
  color: #4af0ff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.view-details-btn:hover {
  background-color: #4af0ff;
  color: #000;
}

/* CSS Modal */

.modal-overlay {
  display: none; /* hidden by default */
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


.modal-box {
  background-color: #1e1e1e;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  color: #fff;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  color: #fff;
  font-size: 24px;
  border: none;
  cursor: pointer;
}

.project-btn {
  background-color: transparent;
  color: #4af0ff;
  padding: 8px 16px;
  border: 1px solid #4af0ff;
  border-radius: 10px; /* fully rounded */
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.project-btn:hover {
  background-color: #4af0ff;
  color: #000;
}

.project-btn:focus {
  outline: none;
}


/*  Images */
.screenshot-img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.screenshot-img:hover {
  transform: scale(1.03);
}

/* Skills Section  */

.skill-card {
  background-color: #111;
  border: 1px solid #333;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.skill-card:hover {
  transform: scale(1.03);
  border-color: #4c8bf5;
}

.skill-card ul li {
  margin-bottom: 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.skill-card .icon {
  width: 22px;
  height: 22px;
  margin-right: 10px;
}

.skill-card .dark-icon {
  filter: invert(1);
}
