/* ==========================
   RESPONSIVE DESIGN
   ========================== */

/* ---------- Mobile Navbar ---------- */
@media (max-width: 768px) {
  .navContainer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
  }

  .navButtonContainer {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .navButtonContainer.active {
    display: flex;
  }

  /* Hamburger button */
  .hamburger {
    display: block;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger div {
    width: 25px;
    height: 3px;
    background: black;
    margin: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Animate hamburger */
  .hamburger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .hamburger.toggle .line2 {
    opacity: 0;
  }
  .hamburger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* ---------- Hero Section ---------- */
@media (max-width: 768px) {
  .titleImageContainer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }

  .titleTextContainer p {
    font-size: 1.8rem !important;
    line-height: 1.4;
  }

  .titleButtonContainer {
    flex-direction: column;
    gap: 1rem;
  }

  .imageContainer img {
    width: 90%;
    height: auto;
  }
}

/* ---------- Features Section ---------- */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .featuresBox {
    width: 100%;
  }
}

/* ---------- Our Solution Section ---------- */
@media (max-width: 768px) {
  .ourSolutionSubtextContainer img {
    float: none !important;
    display: block;
    margin: 0 auto 1.5rem auto;
    width: 80%;
    height: auto;
  }

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

  .ourSolutionSubtitle {
    font-size: 1.4rem;
  }
}

/* ---------- About Us Section ---------- */
@media (max-width: 768px) {
  .aboutUsSectionContentContainer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }

  .aboutUsSectionImageContainer img {
    width: 90%;
    height: auto;
    margin-bottom: 2rem;
  }

  .aboutUsSectionParagraph {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* ---------- Product Section ---------- */
@media (max-width: 768px) {
  .productBodyContainer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .productBodyLeft, .productBodyRight {
    width: 100%;
  }

  .productBodyRight img {
    width: 80%;
    height: auto;
  }

  .productBodyBullets {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .productSectionButton {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ---------- Founders Section ---------- */
@media (max-width: 768px) {
  .founder-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .founder-card {
    width: 85%;
    text-align: center;
  }
}

/* ---------- Footer ---------- */
@media (max-width: 768px) {
  .aboutQuickLinksFollowUsSection {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .footerSection {
    padding: 2rem 1rem;
  }
}

/* ---------- Tablets (768px to 1024px) ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .navButtonContainer {
    gap: 1.2rem;
  }

  .titleTextContainer p {
    font-size: 2rem;
  }

  .features {
    flex-wrap: wrap;
  }

  .featuresBox {
    width: 45%;
    margin-bottom: 1.5rem;
  }

  .productBodyContainer {
    flex-wrap: wrap;
  }

  .aboutUsSectionContentContainer {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
