/* GLOBAL */
html {
  scroll-behavior: smooth; 
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: whitesmoke;
  color: #212529;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  letter-spacing: -0.4px;
}

section {
  scroll-margin-top: 90px;
}

/* NAVBAR */
header {
  background: white;
  backdrop-filter: blur(10px);
}

.nav-pills .nav-link {
  color: blue;
  font-weight: 500;
  border-radius: 30px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
  background-color: white;
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
}

/* HERO SECTION */

.display-4 {
  font-weight: 800;
}

.border-bottom {
  border-color: #ffffff !important;
}

.hero-image img,
img.img-fluid {
  transition: transform 0.4s ease;
}

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

/* BUTTONS */
.btn-primary {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  border: none;
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.btn-outline-secondary:hover {
  transform: translateY(-2px);
}

/* WHAT I DO */
#what-i-do {
  background-color: #ffffff;
  border-radius: 24px;
}

.feature-icon-small {
  width: 48px;
  height: 48px;
}

/* PROJECTS */
#projects .card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

#projects .card img {
  height: 400px;
  object-fit: cover;
}

#projects .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-title {
  font-size: 1.2rem;
  
}

/*  ABOUT */
#about {
  background-color: #ffffff;
  border-radius: 24px;
}

#about img {
  transition: transform 0.4s ease;
}

#about img:hover {
  transform: scale(1.05);
}

/* FOOTER */
footer {
  background-color: #ffffff;
}

footer span {
  font-size: 0.9rem;
  color: #6c757d;
}

/* 
RESPONSIVE */
@media (max-width: 900px) {
  .display-4 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  #projects .card img {
    height: 500px;
  }
}

