/* ============================= */
/* NAV LINK HOVER EFFECT */
/* ============================= */
.nav-link {
  position: relative;
  padding-bottom: 5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease-in-out;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: #f3ecec;
  transition: width 0.3s ease-in-out;
}

.nav-link:hover {
  color: #000 !important;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #000 !important;
}

/* ============================= */
/* NAVBAR BACKGROUND & HOVER */
/* ============================= */
.navbar {
  background: linear-gradient(135deg, #0d6efd, #4facfe, #00c6ff);
  background-size: 300% 300%;
  animation: navbarGradient 8s ease infinite;
  transition: all 0.4s ease-in-out;
}

.navbar:hover {
  background-position: right center;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.45);
}

.navbar * {
  transition: all 0.3s ease-in-out;
}

@keyframes navbarGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================= */
/* NAVBAR BRAND */
/* ============================= */
.navbar-brand {
  transition: 0.3s ease;
}

.navbar-brand:hover {
  color: #ffe600;
  letter-spacing: 1px;
}

/* ============================= */
/* ABOUT CARD */
/* ============================= */
.about-card {
  transition: all 0.35s ease-in-out;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(17, 16, 16, 0.78) !important;
}

/* ============================= */
/* CONTACT ICON */
/* ============================= */
.contact-icon {
  font-size: 32px;
  color: #0d6efd;
  margin-right: 15px;
}

/* ============================= */
/* FORM INPUTS */
/* ============================= */
.modern-input {
  border: 1px solid #d8d9f3;
  background: #fff;
  padding: 13px;
  font-size: 15px;
  border-radius: 8px;
}

.modern-input:focus {
  border-color: #0938f4;
  box-shadow: 0 0 0 0.12rem rgba(122, 125, 245, 0.25);
}

.textarea-box {
  height: 183px;
  resize: none;
}

/* ============================= */
/* BUTTON */
/* ============================= */
.send-btn {
  background: #0d6efd;
  color: #fff;
  border-radius: 4px;
  letter-spacing: 1px;
  transition: 0.3s;
}

.send-btn:hover {
  background: #0a62f0;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.5);
  transform: translateY(-1px);
}

/* ============================= */
/* FOOTER */
/* ============================= */
.footer-links li a {
  color: #fffdfd;
  font-size: 14px;
  text-decoration: none;
}

.footer-links li a:hover {
  color: #2b4572;
  text-decoration: underline;
}

/* ============================= */
/* SOCIAL ICONS */
/* ============================= */
.social-icon {
  font-size: 22px;
  width: 40px;
  height: 40px;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: 0.3s;
}

.social-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.facebook:hover { background: #0650fc; }
.instagram:hover { background: #fc510e; }
.linkedin:hover { background: #0A66C2; }

/* ============================= */
/* GALLERY */
/* ============================= */
.gallery-card {
  overflow: hidden;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.12);
}

/* ============================= */
/* MOBILE FIX */
/* ============================= */
@media (max-width: 768px) {
  #home h1,
  #home h4 {
    text-align: center;
  }
}

/* ============================= */
/* CURSOR ANIMATION */
/* ============================= */
.cursor {
  display: inline-block;
  margin-left: 3px;
  color: #000;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
