/* ===================== Responsive Media Queries ===================== */

/* Small devices (≤480px) */
@media (max-width: 480px) {
  html { font-size: 15px; }
  .navbar-desktop { display: none !important; }
  .navbar-mobile {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background: #fff;
    z-index: 1001;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  }
  .navbar-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
  }
  .navbar-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
  }
  .hero-section {
    padding: 2rem 0.5rem;
    flex-direction: column;
  }
  .hero-title { font-size: 2rem; line-height: 2.3rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .feature-cards, .details-container { flex-direction: column; gap: 1.5rem; }
  .feature-card, .details-card { min-width: 0; width: 100%; margin: 0 auto; }
  .our_mission_text_header_paragraph { font-size: 1.5rem; line-height: 2rem; padding: 12px 0; }
  .madeby-note { font-size: 0.9rem; }
}

/* Medium devices (481px–767px) */
@media (min-width: 370px) and (max-width: 767px) {

  .hero-container{
    background: url('../assets/images/sheet-1.png') no-repeat;
    background-size: cover;
    width: auto;
  }
  
  .hero-image-carousal{
    display: none;
  }

  .humanoid-heading{
    font-size: 1.6rem;
  }
.navbar-container{
  padding: 10px 15px;
}
.features-header{
  margin-bottom: 1.5rem;
}
.hero-container{
  justify-content: center;
}
.hero-section{
  padding: 0px;
}
.hero-text{
  padding: 1.5rem 0.8rem;
}
.pulse-chip{
  margin-bottom: 20px;
}
.hero-subtitle{
  font-size: 1rem;
}
.hero-cta{
  font-size: 14px;
  padding: 0.5rem 1.2rem;
}
.humanoid-section{
  padding: 40px 15px 40px 15px;
  width: auto;
}
.humanoid-cards{
  flex-direction: column-reverse;
  height: auto;
  align-items: center;
  justify-content: center;
  max-width: none;
  gap: 0px;
}
.humanoid-title{
  padding: 0px;
}
.humanoid-cards p{
  font-size: 14px;
  line-height: 20px;
  position: relative;
  padding-left: 20px;
  width: auto;
  padding-right: 20px;
}
.image_right_about_us{
  width: 418px;
  height: 304px;
}
.specs-section{
  padding: 40px 0 30px 0;
}
.our_mission_text_header_paragraph{
  font-size: 20px;
  line-height: 28px;
  padding-top: 0px;
}
.our_mission_body_1{
  padding: 10px;
}
.our_mission_body h1{
  font-size: 18px;
  margin-bottom: 0.8rem;
}
.our_mission_body p{
  font-size: 14px;
    line-height: 20px;
    margin-top: 0px;
}
.features-section{
  padding: 30px 0;
}
.features-title{
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.left_map_image{
  width: 500px;
}
.features-subtitle{
  font-size: 1rem;
  line-height: 22px;
  padding: 0 25px;
}
.features-grid{
  grid-template-columns: 1fr;
}
.feature-card{
  width: 100%;
}
.contact_main_container{
  flex-direction: column;
}
  html { font-size: 16px; }
  .navbar-desktop { display: none !important; }
  .navbar-mobile {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background: #fff;
    z-index: 1001;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  }
  .right_contact_address_container{
    padding: 15px;
  }
  .navbar-menu-btn { display: block; }
  .company_name{
    font-size: 18px;
  }
  .address{
    font-size: 14px;
    line-height: 20px;
  }
  .right_contact_address_container::after{
    width: auto;
  }
  .contact_main_container{
    gap: 30px;
  }
  .footer-row{
    flex-direction: row;
  }
  .footer-logo{
    width: 110px;
  }
  .footer-section{
    padding: 18px 0 0 0;
  }
  .footer-row{
    padding-bottom: 10px;
  }
  .footer-bottom{
    font-size: 12px;
  }
  .hero-title { font-size: 1.8rem; }
  .feature-cards, .details-container { flex-direction: column; gap: 2rem; }
  .feature-card, .details-card { min-width: 0;width: calc(100% - 50px); height: 250px; }
}

/* Tablets/iPad Portrait (768px–991px) */
@media (min-width: 768px) and (max-width: 991px) {

  html { font-size: 17px; }
  .navbar-desktop { display: none !important; }
  .navbar-mobile {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background: #fff;
    z-index: 1001;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  }
  .navbar-menu-btn { display: block; }
  .hero-section { padding: 3rem 2rem; flex-direction: column; }
  .feature-cards, .details-container { flex-direction: row; flex-wrap: wrap; gap: 2rem; }
  .feature-card, .details-card { min-width: 280px; width: 48%; margin-bottom: 2rem; }
}

/* Large tablets/iPad Landscape (992px–1199px) */
@media (min-width: 992px) and (max-width: 1199px) {

  
  html { font-size: 18px; }
  .navbar-desktop { display: flex !important; }
  .navbar-mobile { display: none !important; }
  .navbar-menu-btn { display: none; }
  .feature-cards, .details-container { flex-direction: row; gap: 2.5rem; }
  .feature-card, .details-card { min-width: 320px; width: 48%; }

  .navbar-container{
    padding: 10px 20px;
  }

  .navbar-desktop{
    gap: 16px;
  }
  .nav-link{
    font-size: 14px;
  }
  .navbar-badge{
    padding: 0.3em 0.9em;
    font-size: 16px;
    gap: 0.3em;
  }
  .badge-icon{
    font-size: 12px;
  }
  .hero-text{
    padding: 1.53rem 1rem;
  }
  .hero-title{
    font-size: 28px;
    margin: auto;
  }
  .hero-subtitle{
    font-size: 18px;
  }
  .hero-cta{
    font-size: 14px;
    padding: 0.7rem 1.6rem;
  }
  .humanoid-title, .humanoid-cards{
    max-width: none !important;
  }

  /* About us starts  */

  .humanoid-section{
    padding: 70px 20px 35px 20px;
  }
  .humanoid-heading{
    font-size: 2rem;
  }

  .pulse-chip, .humanoid-title{
    margin-bottom: 1.2rem;
  }
  .humanoid-cards{
    gap: 24px;
    height: auto;
  }
  .humanoid-cards p{
    width: 90%;
  }
  .image_right_about_us{
    display: none;
  }
  .humanoid-cards p{
    font-size: 16px;
    line-height: 20px;
  }
  .our_mission_text_header_paragraph{
    font-size: 28px;
    line-height: 36px;
  }
  .our_mission_body_1{
    padding: 15px;
    margin-bottom: 1.5rem;
  }
  .our_mission_body h1{
    font-size: 24px;
    margin-bottom: 0.8rem;
  }
  .our_mission_body p{
    font-size: 18px;
    line-height: 24px;
    margin-top: 1rem;
  }
  .our_mission_body_2{
    margin-bottom: 0px;
  }
  .features-section{
    padding: 60px 0 30px 0;
  }
  .features-title{
    font-size: 2rem;
    line-height: 48px;
  }
  .features-subtitle{
    font-size: 1rem;
    line-height: 22px
  }
  .features-grid{
    grid-template-columns: repeat(1, 1fr);
  }
  .feature-card, .details-card{
    width: 90%;
  }
  .features-grid{
    place-items: center;
  }
  .contact_main_container{
    flex-direction: column;
  }

}

/* Extra large screens (≥1200px) */
@media (min-width: 1200px) {
  html { font-size: 19px; }
  .navbar-desktop { display: flex !important; }
  .navbar-mobile { display: none !important; }
  .navbar-menu-btn { display: none; }
  .feature-cards, .details-container { flex-direction: row; gap: 3rem; }
}

/* Ensure no horizontal scroll */
body { overflow-x: hidden; }

/* =============== End Responsive Media Queries =============== */

/* Hide mobile menu by default, show when active with animation */
.navbar-mobile {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-30px);
  transition:
    opacity 0.3s cubic-bezier(.4,0,.2,1),
    visibility 0.3s cubic-bezier(.4,0,.2,1),
    transform 0.3s cubic-bezier(.4,0,.2,1);
}
.navbar-mobile.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

