/* GENERAL RESET */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
}

/* HERO SECTION */
#hero {
  background-image: url("https://source.unsplash.com/1600x900/?developer,technology");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: white;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

/* Sign-in animation for hero text and button */
.sign-in-fade {
  opacity: 0;
  transform: translateY(30px);
  animation: signInFade 1.2s ease forwards;
  animation-delay: 0.4s;
}

.btn-sign-in {
  opacity: 0;
  transform: translateY(30px);
  animation: signInFade 1.2s ease forwards;
  animation-delay: 1s;
}

/* Keyframes for sign-in effect */
@keyframes signInFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  #hero {
    background-position: top;
  }
}

/* PROFILE IMAGE */
.about-section img {
  max-width: 250px;
  border: 5px solid #fff;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.about-section img:hover {
  transform: scale(1.05);
}

/* PARALLAX TEXT */
.parallax-section {
  position: relative;
  z-index: 1;
  background-attachment: fixed;
  padding: 80px 0;
}

.parallax-section h2,
.parallax-section p {
  color: #fff;
  text-shadow: 2px 2px 4px #000;
}

/* PROJECT CARDS */
.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-title {
  color: #0d6efd;
}

.card {
  transition: transform 0.2s ease;
  will-change: transform;
}

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

/* PROGRESS BARS */
.progress-bar {
  width: 0;
  transition: width 1.2s ease-in-out;
  background-color: #0d6efd;
}

/* CONTACT FORM */
form .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap");

/* Contact Form Custom Styling */
.contact-form-wrapper {
  background: rgba(13, 110, 253, 0.9); /* Bootstrap primary blue with opacity */
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.contact-form-wrapper .form-control {
  background-color: #ffffff;
  border: none;
  color: #212529;
  font-size: 1rem;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper .form-control:focus {
  outline: none;
  border: 2px solid #0d6efd;
  box-shadow: 0 0 8px #0d6efd;
}

.contact-form-wrapper label {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.btn-light {
  color: #0d6efd;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
  background-color: #e2e6ea;
  color: #0a58ca;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
}


/* SKILLS LIST */
#skills ul {
  list-style: none;
  padding-left: 0;
}

#skills li::before {
  content: "✓";
  margin-right: 8px;
  color: #0d6efd;
}

/* BUTTON HOVER (OPTIONAL) */
.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

/* FOOTER LINK */
footer a:hover {
  text-decoration: underline;
}

/* SCROLL ANIMATION (FADE-IN) */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}
