/* ================================
   GLOBAL RESPONSIVE FIXES
================================ */
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================================
   CONTAINER SPACING
================================ */
.container,
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

/* ================================
   TYPOGRAPHY (Mobile Friendly)
================================ */
@media (max-width: 992px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
}

@media (max-width: 576px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  p  { font-size: 15px; line-height: 1.6; }
}

/* ================================
   NAVBAR RESPONSIVE
================================ */
@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-item {
    margin: 8px 0;
  }

  .navbar-collapse {
    background: #ffffff;
    padding: 15px;
  }
}

/* ================================
   HERO SECTION
================================ */
@media (max-width: 768px) {
  .hero-area,
  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 15px;
  }
}

/* ================================
   SECTION SPACING
================================ */
@media (max-width: 768px) {
  section {
    padding: 40px 0 !important;
  }
}

/* ================================
   GRID / CARDS FIX
================================ */
@media (max-width: 768px) {
  .row > div {
    margin-bottom: 20px;
  }
}

/* ================================
   BUTTONS (Mobile Touch Friendly)
================================ */
@media (max-width: 576px) {
  .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    margin-bottom: 12px;
  }
}

/* ================================
   IMAGES ALIGNMENT
================================ */
@media (max-width: 768px) {
  .text-end,
  .text-right {
    text-align: center !important;
  }
}

/* ================================
   FOOTER RESPONSIVE
================================ */
@media (max-width: 576px) {
  footer {
    text-align: center;
  }

  footer .row > div {
    margin-bottom: 20px;
  }
}

/* ================================
   TABLE RESPONSIVE
================================ */
.table-responsive {
  overflow-x: auto;
}

/* ================================
   FORM RESPONSIVE
================================ */
@media (max-width: 576px) {
  input,
  select,
  textarea {
    font-size: 15px;
  }
}
