/* style.css */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #222;
}

/* Navbar */
.navbar-brand {
  font-weight: bold;
  font-size: 1.25rem;
}

/* Links */
.nav-link {
  margin-left: 15px;
}

/* Footer */
footer {
  background-color: #212529;
  color: #fff;
  padding: 24px 0;
}
footer a {
  color: #ffc107;
  margin-right: 12px;
  font-size: 1.05rem;
}
footer a:hover { color: #fff; }

/* Hero animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-title { animation: fadeInUp 1s ease-out; }

/* Typewriter */
.typewriter {
  overflow: hidden;
  border-right: .12em solid rgba(255,255,255,0.9);
  white-space: nowrap;
  animation: typing 3s steps(40, end), blink-caret .75s step-end infinite;
  display: inline-block;
}
@keyframes typing { from { width: 0 } to { width: 60% } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: rgb(104,104,231); } }

/* Projects card */
.project-card img { height: 200px; object-fit: cover; border-top-left-radius: .25rem; border-top-right-radius: .25rem; }

/* Contact Card */
.contact-card {
  background: rgba(255,255,255,0.98);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
}

/* Inputs */
#contact-form input,
#contact-form textarea {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  transition: box-shadow .2s ease, border-color .2s ease;
  padding: 12px;
}
#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #0d6efd;
  box-shadow: 0 6px 20px rgba(13,110,253,0.08);
  outline: none;
}

/* Button */
#contact-form button {
  border-radius: 8px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
#contact-form button:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(13,110,253,0.12); }

/* small screens spacing */
@media (max-width: 576px) {
  .hero-title { font-size: 1.5rem; }
  .project-card img { height: 160px; }
}
