/**
 * Responsive Stylesheet
 * S.S. 3D View & 3D Model Maker / AJ 3D Models
 */

@media (max-width: 991.98px) {
  /* Hero Section Height & Proportions on Tablet */
  .hero-section-mockup {
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero-section,
  .hero-slide {
    min-height: auto !important;
    padding: 3.5rem 0 3.5rem 0 !important;
    text-align: center;
  }

  .hero-swiper-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.95rem !important;
  }
  .hero-swiper-prev { left: 10px !important; }
  .hero-swiper-next { right: 10px !important; }
  
  .hero-main-title,
  .hero-title {
    font-size: 2.25rem !important;
    line-height: 1.22 !important;
    margin: 0 auto 0.85rem auto !important;
    max-width: 100% !important;
  }

  .hero-subtitle {
    font-size: 1.05rem !important;
    margin: 0 auto 0.75rem auto !important;
  }
  
  .hero-desc-text,
  .hero-text {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin: 0 auto 1.5rem auto !important;
    max-width: 580px !important;
  }

  .hero-tagline-badge {
    font-size: 0.78rem !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-contact-inline {
    justify-content: center !important;
    margin-top: 1.25rem !important;
  }

  .hero-section-mockup .d-flex.flex-wrap {
    justify-content: center !important;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .hero-visual-card {
    margin-top: 3rem;
    transform: none !important;
  }

  .hero-visual-card img {
    height: 360px;
  }

  /* Responsive Mobile / Tablet Navbar */
  .navbar-collapse {
    background: #070D16 !important;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-top: 0.85rem;
    border: 1px solid rgba(229, 172, 57, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  }

  .navbar-collapse:not(.show) {
    display: none !important;
  }

  .navbar-collapse.show {
    display: block !important;
  }

  .navbar-ss .nav-link {
    padding: 0.65rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .navbar-ss .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .navbar-ss .nav-link::after {
    display: none;
  }

  /* Mobile Services Dropdown Menu */
  .navbar-nav .dropdown-menu {
    position: static !important;
    float: none !important;
    background-color: #0B1522 !important;
    border: 1px solid rgba(229, 172, 57, 0.2) !important;
    border-radius: 10px;
    margin-top: 0.4rem;
    padding: 0.5rem 0.75rem;
    box-shadow: none !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .navbar-nav .dropdown-menu.show {
    display: block !important;
  }

  .navbar-nav .dropdown-item {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.88rem !important;
    border-radius: 6px;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 60px; /* Space for sticky bottom bar */
  }

  .top-bar {
    display: none; /* Hide top bar on compact mobile */
  }

  /* Hero Section Height & Proportions on Mobile Devices */
  .hero-section-mockup {
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero-section,
  .hero-slide {
    min-height: auto !important;
    padding: 2.5rem 0 2.5rem 0 !important;
    text-align: center;
  }

  .hero-main-title,
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    margin: 0 auto 0.65rem auto !important;
  }

  .hero-subtitle {
    font-size: 0.92rem !important;
    margin: 0 auto 0.65rem auto !important;
    line-height: 1.35 !important;
  }

  .hero-desc-text,
  .hero-text {
    font-size: 0.84rem !important;
    line-height: 1.52 !important;
    margin: 0 auto 1.25rem auto !important;
    padding: 0 0.5rem;
  }

  .hero-tagline-badge {
    font-size: 0.68rem !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0.5rem !important;
    padding: 0.2rem 0.6rem !important;
  }

  .hero-section-mockup .btn {
    padding: 0.45rem 1.15rem !important;
    font-size: 0.85rem !important;
  }

  .hero-contact-inline {
    margin-top: 1rem !important;
    gap: 0.5rem !important;
  }

  .section-title {
    font-size: 1.75rem;
  }

  /* About Us & Why Choose Us Image Frames on Mobile */
  .about-frame-wrapper,
  .why-frame-wrapper {
    padding: 12px !important;
    margin-top: 1.75rem !important;
  }

  .about-card-img,
  .why-image-card img {
    height: 280px !important;
  }

  .about-badge-vision-circle {
    width: 90px !important;
    height: 90px !important;
    bottom: -6px !important;
    right: -6px !important;
  }

  .about-badge-vision-text {
    font-size: 0.95rem !important;
  }

  .floating-actions-desktop {
    display: none !important; /* Replaced by sticky mobile bar */
  }

  .sticky-mobile-cta {
    display: block !important;
  }

  .portfolio-card .portfolio-img {
    height: 240px;
  }

  .page-header {
    padding: 3.5rem 0 2.5rem 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .fun-fact-number {
    font-size: 2rem !important;
  }

  .fun-fact-card {
    padding: 1.5rem 1rem !important;
  }

  .mission-vision-card {
    padding: 1.75rem 1.25rem !important;
  }

  .service-showcase-card {
    padding: 2rem 1.25rem !important;
    margin-bottom: 2rem !important;
  }

  .service-watermark-num {
    font-size: 3.5rem !important;
    top: 10px !important;
    right: 15px !important;
  }

  .gallery-thumb-wrap {
    height: 240px !important;
  }

  .journey-dark-card {
    padding: 1.5rem 0.75rem !important;
  }

  .journey-num {
    font-size: 1.9rem !important;
  }

  .journey-label {
    font-size: 0.82rem !important;
  }

  .about-blueprint-img {
    height: 250px !important;
  }
}

@media (min-width: 768px) {
  .sticky-mobile-cta {
    display: none !important;
  }
}
