/* iOS Safari jitter scroll fix */
html, body {
  overscroll-behavior: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-weight: 600;
}

/* === Logo Hover Effect === */
.logo-animate {
  transition: transform 0.3s ease;
}
.logo-animate:hover {
  transform: scale(1.12);
}

/* === Cards === */
.card {
  transition: transform 0.2s ease;
  border-radius: 12px;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* === Buttons === */
.btn-outline-light:hover {
  background-color: #ffffff;
  color: #0D1117;
}
.btn-outline-info:hover {
  background-color: #00B4FF;
  color: #fff;
}

/* === Hero Section === */
.hero-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* === Section Headings === */
section h2 {
  font-weight: 700;
  font-size: 2rem;
}

/* === Contact Form === */
form input, form textarea {
  border-radius: 8px;
}

/* === Responsive Fixes === */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  section h2 {
    font-size: 1.6rem;
  }
}

footer i {
  font-size: 1.1rem;
}

/* === Typed Heading === */
.typed-heading {
  min-height: 60px;
  font-size: 2.2rem;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .typed-heading {
    font-size: 1.8rem;
  }
}
