/* =====================================
   GLOBAL MOBILE RESET
===================================== */
@media (max-width: 992px) {
  body {
    overflow-x: hidden;
  }

  section,
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* =====================================
   NAVBAR FIX (ALL PAGES)
===================================== */
@media (max-width: 992px) {
  .navbar {
    position: fixed !important;
    background: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(6px);
  }

  body {
    padding-top: 70px;
  }

  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }

  .nav-link {
    padding: 0.75rem 0 !important;
  }
}

/* =====================================
   HERO SECTIONS
===================================== */
@media (max-width: 768px) {
  .parallax-hero {
    min-height: 60vh !important;
    background-attachment: scroll;
  }

  .hero-intro {
    text-align: center;
  }

  .hero-intro h1 {
    font-size: clamp(26px, 8vw, 38px) !important;
  }

  .hero-intro p,
  .hero-intro .lead {
    font-size: 0.95rem;
  }

  .feature-list {
    justify-content: center;
  }
}

/* =====================================
   PORTFOLIO PAGE FIX
===================================== */
@media (max-width: 768px) {
  .works-hero {
    font-size: clamp(34px, 10vw, 48px);
    text-align: center;
  }

  .project-card {
    flex-direction: column;
    gap: 12px;
  }

  .project-thumb {
    width: 100%;
    height: auto;
  }

  .project-thumb img {
    height: 220px;
  }
}

/* =====================================
   BLOG PAGE FIX
===================================== */
@media (max-width: 768px) {
  .featured-card {
    flex-direction: column;
  }

  .featured-card img {
    width: 100%;
    height: 220px;
  }

  .featured-card .card-body {
    padding: 1.25rem;
    text-align: left;
  }
}

/* =====================================
   ABOUT + SERVICES
===================================== */
@media (max-width: 768px) {
  .about-hero,
  .services-hero,
  .portfolio-hero {
    text-align: center;
    font-size: clamp(30px, 10vw, 42px);
  }

  .about-desc,
  .portfolio-desc {
    text-align: left;
  }
}

/* =====================================
   CONTACT SECTION
===================================== */
@media (max-width: 768px) {
  .contact-map iframe {
    height: 300px !important;
  }

  .contact-left {
    padding-right: 0 !important;
    text-align: center;
  }
}

/* =====================================
   AOS PERFORMANCE (MOBILE)
===================================== */
@media (max-width: 768px) {
  [data-aos] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
