body {
  scroll-behavior: smooth;
}

.navbar {
  background: #0d1b2a;
}


.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('../images/martin2.jpg') center center / cover no-repeat;
  display: flex;
}

.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.75)
  );
}

.hero-section .container {
  z-index: 2;
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-section p {
  max-width: 700px;
  margin: 0 auto;
}
.section {
  padding: 80px 0;
}

.project-card,
.service-card,
.about-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  transition: transform .3s ease;
}

.project-card:hover,
.service-card:hover {
  transform: translateY(-5px);
}

.about-card ul {
  list-style: none;
  padding: 0;
}

.about-card li {
  margin-bottom: 10px;
  font-weight: 500;
}
.portfolio-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  transition: all .3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.project-card img {
  height: 220px;
  object-fit: cover;
}

.project-title {
  padding: 20px;
  text-align: center;
  background: #ffffff;
}

.project-title h5 {
  margin: 0;
  font-weight: 600;
}
/* skill card */
.section {
  padding: 80px 0;
}

.skill-card {
  background: #fff;
  font-weight: 500;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: default;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.img-fluid {
  object-fit: cover;
}

/* contact */
.contact-section {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.contact-card {
  max-width: 750px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-card h2 {
  color: #ffffff;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

/* WhatsApp */
.whatsapp-btn {
  background: #25D366;
  color: #fff;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
}

/* Call */
.call-btn {
  background: #0d6efd;
  color: #fff;
}

.call-btn:hover {
  background: #0b5ed7;
  transform: translateY(-3px);
}

/* Email */
.email-btn {
  background: #ffffff;
  color: #333;
}

.email-btn:hover {
  background: #f1f1f1;
  transform: translateY(-3px);
}

.contact-btn i {
  font-size: 1.2rem;
}

.project-details {
  background: #f8f9fa;
}

.visit-btn {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.visit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(13, 110, 253, 0.4);
  color: #fff;
}

.tech-badge {
  font-size: 0.85rem;
  padding: 8px 12px;
}

/* Floating Scroll Button */
.scroll-bottom-btn {
    position: fixed;
    right: 25px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #0d6efd;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

/* Subtle hover effect */
.scroll-bottom-btn:hover {
    transform: translateY(-3px);
    background: #0b5ed7;
}

/* Soft pulsing animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13,110,253, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(13,110,253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13,110,253, 0);
    }
}