/* ============================================================
   NexaCore Technologies — Responsive Styles
   css/responsive.css
   ============================================================ */

/* ---- Extra Large Desktop (1400px+) ---- */
@media (min-width: 1400px) {
  .container { max-width: 1340px; }
}

/* ---- Large Desktop (1200px — 1399px) ---- */
@media (min-width: 1200px) and (max-width: 1399px) {
  .section-title { font-size: 2rem; }
}

/* ---- Desktop (992px — 1199px) ---- */
@media (max-width: 1199px) {
  .hero-title          { font-size: clamp(2rem, 4vw, 2.8rem); }
  .section-title       { font-size: 1.85rem; }
  /* shrink pill nav a bit */
  .pill-link           { font-size: 0.8rem; padding: 4px 10px; }
  .pill-div            { padding: 0 1px; }
  .header-badge        { display: none; }
}

/* ---- Tablet (768px — 991px) ---- */
@media (max-width: 991px) {
  /* Header */
  .site-header         { padding: 0 20px; height: 64px; }
  .site-header.scrolled{ height: 56px; }
  .header-pill-nav     { display: none !important; }
  .header-badge        { display: none !important; }
  .header-cta          { display: none !important; }
  .logo-name           { font-size: 0.95rem; }
  .logo-sub            { font-size: 0.58rem; }

  /* Hero */
  .hero-section        { padding: 100px 0 60px; }
  .hero-title          { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  .hero-text           { font-size: 0.92rem; }
  .hero-buttons        { justify-content: center; }
  .hero-illustration   { margin-top: 40px; }
  .hero-float-card     { display: none; }

  /* Stats */
  .stat-item           { padding: 16px 8px; }
  .stat-number         { font-size: 2rem; }

  /* About */
  .about-content       { padding-left: 0; margin-top: 30px; }

  /* Sections */
  .section-title       { font-size: 1.7rem; }
  .section-subtitle    { font-size: 0.88rem; }

  /* Process */
  .process-timeline::before { top: 30px; left: 30px; right: 30px; }
  .step-number         { width: 50px; height: 50px; }
  .step-number .num    { font-size: 1rem; }
  .process-step        { min-width: 110px; }

  /* Testimonials */
  .testimonial-card    { padding: 32px; }

  /* Footer */
  .footer              { padding: 60px 0 0; }
  .footer-bottom       { margin-top: 40px; }

  /* FP dots */
  .fp-dots             { right: 12px; gap: 10px; }
  .fp-dot              { width: 10px; height: 10px; }
  .fp-dot::before      { display: none; }
}

/* ---- Mobile (max 767px) ---- */
@media (max-width: 767px) {
  /* Header */
  .site-header         { padding: 0 16px; height: 58px; }
  .side-menu           { width: 300px; }

  /* Hero */
  .hero-section        { padding: 90px 0 50px; }
  .hero-badge          { font-size: 0.74rem; padding: 6px 14px; }
  .hero-title          { font-size: clamp(1.6rem, 5.5vw, 2rem); margin-bottom: 16px; }
  .hero-text           { font-size: 0.88rem; }
  .hero-buttons        { flex-direction: column; width: 100%; }
  .hero-buttons .btn   { width: 100%; justify-content: center; }
  .scroll-hint         { display: none; }

  /* Stats */
  .stats-bar           { padding: 40px 0; }
  .stat-item           { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 10px; }
  .stat-item:last-child{ border-bottom: none; }
  .stat-number         { font-size: 1.8rem; }
  .stat-label          { font-size: 0.8rem; }

  /* Section padding */
  :root                { --section-padding: 60px 0; }
  .section-title       { font-size: 1.5rem; }
  .section-badge       { font-size: 0.74rem; }

  /* About */
  .about-img-wrap      { height: 320px; }
  .about-img-inner h3  { font-size: 2rem; }
  .about-img-badge     { bottom: 16px; right: 16px; padding: 10px 16px; }
  .about-img-badge strong { font-size: 1.2rem; }

  /* Services */
  .service-card        { padding: 28px 20px; }
  .service-icon-wrap   { width: 56px; height: 56px; font-size: 1.2rem; }
  .service-card h4     { font-size: 0.98rem; }

  /* Products */
  .product-glass-card  { padding: 24px 20px; }

  /* Industries */
  .industry-card       { padding: 24px 16px; }
  .industry-icon       { width: 60px; height: 60px; font-size: 1.4rem; }

  /* Why */
  .why-card            { padding: 26px 20px; }
  .why-icon            { width: 58px; height: 58px; font-size: 1.3rem; }

  /* Statistics */
  .statistics-section  { padding: 60px 0; }
  .stat-box .counter   { font-size: 2.4rem; }
  .stat-box .stat-suffix { font-size: 1.5rem; }

  /* Process */
  .process-timeline    { flex-wrap: nowrap; }
  .process-timeline::before { display: none; }
  .process-step        { min-width: 100px; }
  .step-number         { width: 44px; height: 44px; }
  .step-number .num    { font-size: 0.95rem; }
  .process-step h6     { font-size: 0.82rem; }
  .process-step p      { font-size: 0.72rem; }

  /* Testimonials */
  .testimonial-card    { padding: 26px; }
  .testimonial-text    { font-size: 0.92rem; }
  .author-avatar       { width: 50px; height: 50px; font-size: 1.1rem; }
  .carousel-controls   { gap: 12px; }
  .carousel-btn        { width: 38px; height: 38px; font-size: 0.8rem; }

  /* Logo strip */
  .logo-item           { min-width: 140px; padding: 12px 18px; font-size: 0.8rem; }

  /* News */
  .news-img-placeholder{ height: 180px; font-size: 2rem; }
  .news-body           { padding: 20px; }

  /* Contact */
  .contact-form-card   { padding: 30px 24px; }
  .contact-icon        { width: 44px; height: 44px; min-width: 44px; font-size: 1rem; }

  /* Footer */
  .footer-heading      { margin-top: 26px; }
  .footer-logo         { font-size: 1.1rem; }

  /* Buttons */
  .btn                 { padding: 10px 22px; font-size: 0.85rem; }

  /* Scroll-to-top */
  .scroll-top-btn      { width: 42px; height: 42px; font-size: 0.9rem; bottom: 20px; right: 20px; }

  /* FP dots */
  .fp-dots             { display: none; }
}

/* ---- Small Mobile (max 575px) ---- */
@media (max-width: 575px) {
  /* Header */
  .site-header         { padding: 0 14px; height: 54px; }
  .logo-sub            { display: none; }
  .side-menu           { width: 100%; max-width: 100%; }

  /* Hero */
  .hero-section        { padding: 80px 0 40px; }
  .hero-title          { font-size: clamp(1.4rem, 6vw, 1.75rem); }
  .hero-text           { font-size: 0.84rem; }

  /* Sections */
  .section-title       { font-size: 1.35rem; }
  .stat-number         { font-size: 1.6rem; }

  /* About */
  .about-img-wrap      { height: 260px; }
  .about-img-inner h3  { font-size: 1.6rem; }

  /* Services */
  .service-icon-wrap   { width: 52px; height: 52px; font-size: 1.1rem; }

  /* Products */
  .product-glass-card  { padding: 20px 16px; }

  /* Stats */
  .stat-box .counter   { font-size: 2rem; }
  .stat-box .stat-icon { font-size: 1.6rem; }

  /* Testimonials */
  .testimonial-card    { padding: 22px; }
  .testimonial-text    { font-size: 0.88rem; }
  .author-avatar       { width: 46px; height: 46px; font-size: 1rem; }

  /* Logo strip */
  .logo-item           { min-width: 130px; padding: 10px 16px; }

  /* News */
  .news-img-placeholder{ height: 160px; }

  /* Contact */
  .contact-form-card   { padding: 24px 18px; }

  /* Scroll-to-top */
  .scroll-top-btn      { width: 38px; height: 38px; font-size: 0.85rem; }
}

/* ---- Landscape phones ---- */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-section        { padding: 80px 0 40px; min-height: auto; }
  .scroll-hint         { display: none; }
}
