/* ============================================
   AARUDHRA GLOBAL SUPPLIES - Mobile Responsive
   100% Responsive Across All Devices
   ============================================ */

/* ---------- Extra Small: 320px - 479px ---------- */
@media (max-width: 479px) {
  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding-top: 100px;
  }

  .hero .container {
    padding-top: 100px;
    padding-bottom: 60px;
    gap: 40px;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    letter-spacing: -1px;
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 0.92rem;
    margin-bottom: 28px;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.88rem;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-product-showcase {
    max-width: 300px;
    transform: scale(0.85);
  }

  .hero-product-orb:nth-child(1) { width: 80px; height: 80px; font-size: 1.4rem; }
  .hero-product-orb:nth-child(2) { width: 65px; height: 65px; font-size: 1.2rem; }
  .hero-product-orb:nth-child(3) { width: 90px; height: 90px; font-size: 1.6rem; }
  .hero-product-orb:nth-child(4) { width: 60px; height: 60px; font-size: 1.1rem; }
  .hero-product-orb:nth-child(5) { width: 70px; height: 70px; font-size: 1.2rem; }
  .hero-product-orb:nth-child(6) { width: 50px; height: 50px; font-size: 1rem; }

  .hero-center-ring { width: 130px; height: 130px; }
  .hero-center-ring::after { width: 180px; height: 180px; }
  .hero-center-label { width: 90px; height: 90px; }
  .hero-center-label-number { font-size: 1.3rem; }
  .hero-center-label-text { font-size: 0.55rem; }

  .hero-scroll-indicator { display: none; }

  .floating-shape:nth-child(1) { width: 150px; height: 150px; }
  .floating-shape:nth-child(2) { width: 100px; height: 100px; }
  .floating-shape:nth-child(3) { width: 80px; height: 80px; }
  .floating-shape:nth-child(4) { width: 60px; height: 60px; }

  /* Statistics */
  .statistics {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item {
    padding: 24px 12px;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* About */
  .about {
    padding: 80px 0;
  }

  .about-header {
    margin-bottom: 48px;
  }

  .about-header .section-label {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .about-header .section-title {
    font-size: 1.8rem;
  }

  .about-header .section-subtitle {
    font-size: 0.88rem;
  }

  .about-grid {
    gap: 40px;
  }

  .about-float-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 16px;
  }

  .about-content-area .section-label {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .about-content-area .section-title {
    font-size: 1.7rem;
  }

  .about-text {
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .about-values {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-value-item {
    padding: 12px 14px;
    gap: 10px;
  }

  .about-value-check {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
    border-radius: 6px;
  }

  .about-value-item span {
    font-size: 0.85rem;
  }

  /* Products */
  .products {
    padding: 80px 0;
  }

  .products-header {
    margin-bottom: 48px;
  }

  .products-header .section-label {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .products-header .section-title {
    font-size: 1.8rem;
  }

  .products-header .section-subtitle {
    font-size: 0.88rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    padding: 28px 22px;
  }

  .product-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    border-radius: 12px;
    margin-bottom: 14px;
  }

  .product-card h3 {
    font-size: 1.05rem;
  }

  .product-card p {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .product-card-tags {
    gap: 4px;
  }

  .product-card-tag {
    font-size: 0.7rem;
    padding: 3px 10px;
  }

  /* Industries */
  .industries {
    padding: 80px 0;
  }

  .industries-header {
    margin-bottom: 48px;
  }

  .industries-header .section-label {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .industries-header .section-title {
    font-size: 1.8rem;
  }

  .industries-header .section-subtitle {
    font-size: 0.88rem;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .industry-card {
    padding: 24px 12px;
    border-radius: 16px;
  }

  .industry-card-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .industry-card h3 {
    font-size: 0.88rem;
  }

  .industry-card p {
    font-size: 0.7rem;
  }

  /* Why Us */
  .why-us {
    padding: 80px 0;
  }

  .why-us-header {
    margin-bottom: 48px;
  }

  .why-us-header .section-label {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .why-us-header .section-title {
    font-size: 1.8rem;
  }

  .why-us-header .section-subtitle {
    font-size: 0.88rem;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-us-card {
    padding: 28px 20px;
  }

  .why-us-icon {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    border-radius: 16px;
    margin-bottom: 14px;
  }

  .why-us-card h3 {
    font-size: 1rem;
  }

  .why-us-card p {
    font-size: 0.85rem;
  }

  /* Supply Chain */
  .supply-chain {
    padding: 80px 0;
  }

  .supply-chain-header {
    margin-bottom: 48px;
  }

  .supply-chain-header .section-label {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .supply-chain-header .section-title {
    font-size: 1.8rem;
  }

  .supply-chain-header .section-subtitle {
    font-size: 0.88rem;
  }

  .supply-chain-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .supply-step {
    padding: 20px 12px;
  }

  .supply-step-number {
    font-size: 1.8rem;
  }

  .supply-step-icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .supply-step h4 {
    font-size: 0.85rem;
  }

  .supply-step p {
    font-size: 0.72rem;
  }

  .supply-step-arrow {
    display: none !important;
  }

  /* Parallax Banner */
  .parallax-banner {
    padding: 80px 0;
  }

  .parallax-banner-quote {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .parallax-banner-quote::before {
    font-size: 3rem;
    margin-bottom: 12px;
  }

  .parallax-banner-name {
    font-size: 0.82rem;
    letter-spacing: 1.5px;
  }

  /* Testimonials */
  .testimonials {
    padding: 80px 0;
  }

  .testimonials-header {
    margin-bottom: 48px;
  }

  .testimonials-header .section-label {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .testimonials-header .section-title {
    font-size: 1.8rem;
  }

  .testimonials-header .section-subtitle {
    font-size: 0.88rem;
  }

  .testimonial-card {
    padding: 28px 20px;
  }

  .testimonial-text {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .testimonial-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }

  .testimonial-author-info h4 {
    font-size: 0.88rem;
  }

  .testimonial-author-info p {
    font-size: 0.78rem;
  }

  .testimonial-nav {
    margin-top: 28px;
    gap: 8px;
  }

  .testimonial-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Contact */
  .contact {
    padding: 80px 0;
  }

  .contact-header {
    margin-bottom: 48px;
  }

  .contact-header .section-label {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .contact-header .section-title {
    font-size: 1.8rem;
  }

  .contact-header .section-subtitle {
    font-size: 0.88rem;
  }

  .contact-grid {
    gap: 32px;
  }

  .contact-info {
    gap: 16px;
  }

  .contact-info-card {
    padding: 18px 16px;
    gap: 14px;
  }

  .contact-info-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .contact-info-card h4 {
    font-size: 0.9rem;
  }

  .contact-info-card p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .contact-map-placeholder {
    height: 150px;
    font-size: 0.8rem;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .form-group label {
    font-size: 0.8rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .form-submit {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  /* Footer */
  .footer {
    padding: 60px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-logo-text {
    font-size: 1rem;
  }

  .footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .footer-col h4 {
    font-size: 0.92rem;
  }

  .footer-col ul {
    gap: 8px;
  }

  .footer-col a {
    font-size: 0.82rem;
  }

  .footer-newsletter-form {
    flex-direction: column;
  }

  .footer-newsletter-form input {
    padding: 12px 14px;
  }

  .footer-newsletter-form button {
    padding: 12px 14px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 20px 0;
  }

  .footer-bottom p {
    font-size: 0.78rem;
  }

  .footer-bottom-links {
    gap: 16px;
  }

  .footer-bottom-links a {
    font-size: 0.78rem;
  }

  /* Back to Top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  /* Section Labels */
  .section-label {
    font-size: 0.68rem;
    padding: 6px 14px;
    letter-spacing: 2px;
    gap: 6px;
  }

  .section-label::before {
    width: 5px;
    height: 5px;
  }

  /* Buttons */
  .btn-primary {
    padding: 14px 28px;
    font-size: 0.88rem;
  }

  .btn-secondary {
    padding: 14px 28px;
    font-size: 0.88rem;
  }

  /* Mobile Menu */
  .mobile-menu a {
    font-size: 1.5rem;
  }
}

/* ---------- Small: 480px - 767px ---------- */
@media (min-width: 480px) and (max-width: 767px) {
  .container {
    padding: 0 24px;
  }

  /* Hero */
  .hero .container {
    padding-top: 110px;
    padding-bottom: 70px;
    gap: 40px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 7vw, 3.2rem);
  }

  .hero-product-showcase {
    max-width: 380px;
    transform: scale(0.9);
  }

  .hero-product-orb:nth-child(1) { width: 95px; height: 95px; }
  .hero-product-orb:nth-child(2) { width: 80px; height: 80px; }
  .hero-product-orb:nth-child(3) { width: 110px; height: 110px; }
  .hero-product-orb:nth-child(4) { width: 70px; height: 70px; }
  .hero-product-orb:nth-child(5) { width: 85px; height: 85px; }

  .floating-shape:nth-child(1) { width: 200px; height: 200px; }
  .floating-shape:nth-child(2) { width: 140px; height: 140px; }

  /* Statistics */
  .stats-grid {
    gap: 24px;
  }

  .stat-item {
    padding: 32px 16px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* About */
  .about-values {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Industries */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Why Us */
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Supply Chain */
  .supply-chain-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Supply chain arrows hidden on mobile */
  .supply-step-arrow {
    display: none !important;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 32px 24px;
  }

  /* Contact */
  .contact-form-wrapper {
    padding: 36px 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

/* ---------- Medium: 768px - 1023px ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 40px;
  }

  /* Hero */
  .hero .container {
    padding-top: 120px;
    gap: 40px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 5.5vw, 3.8rem);
  }

  .hero-product-showcase {
    max-width: 420px;
    transform: scale(0.95);
  }

  .floating-shape:nth-child(1) { width: 250px; height: 250px; }

  /* Statistics */
  .stats-grid {
    gap: 32px;
  }

  .stat-item {
    padding: 36px 20px;
  }

  /* About */
  .about-float-card {
    bottom: -10px;
    right: -10px;
  }

  /* Products */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Industries */
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* Why Us */
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Supply Chain */
  .supply-chain-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* Process */
  .process-timeline::before {
    display: none;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
    width: calc(33.333% - 14px);
    padding: 0;
  }

  .process-step-number {
    margin: 0 auto 16px;
  }

  .process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8D6AF8;
    font-size: 1rem;
    margin-top: 28px;
    width: 20px;
    flex-shrink: 0;
  }

  /* Testimonials */
  .testimonial-card {
    min-width: calc(50% - 12px);
    padding: 40px 32px;
  }

  /* Contact */
  .contact-info {
    gap: 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Touch device optimizations ---------- */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover,
  .why-us-card:hover,
  .industry-card:hover,
  .stat-item:hover,
  .about-value-item:hover,
  .why-us-card:hover {
    transform: none;
  }

  .product-card:active,
  .why-us-card:active {
    transform: scale(0.98);
  }

  .magnetic {
    transform: none !important;
  }

  .cursor-glow {
    display: none !important;
  }
}

/* ---------- Landscape mobile ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero .container {
    padding-top: 80px;
    padding-bottom: 40px;
    min-height: auto;
  }

  .hero-visual {
    min-height: 250px;
  }

  .hero-product-showcase {
    max-width: 280px;
    transform: scale(0.8);
  }

  .hero-scroll-indicator {
    display: none;
  }
}

/* ---------- Large phones in landscape ---------- */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

/* ---------- Tablets ---------- */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    max-width: 600px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-product-showcase {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-scroll-indicator {
    display: flex;
  }
}

/* ---------- Ultra-wide screens ---------- */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }

  .hero-title {
    font-size: 5rem;
  }

  .hero-product-showcase {
    max-width: 550px;
  }
}

/* ---------- Print styles ---------- */
@media print {
  .navbar,
  .back-to-top,
  .scroll-progress,
  .cursor-glow,
  .preloader,
  .hero-particles,
  .hero-floating-shapes,
  .hero-scroll-indicator,
  .mobile-menu {
    display: none !important;
  }

  .hero {
    min-height: auto;
    background: white !important;
    color: black !important;
  }

  .hero-title,
  .hero-description {
    color: black !important;
    -webkit-text-fill-color: black !important;
  }

  section {
    page-break-inside: avoid;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .floating-shape,
  .hero-product-orb,
  .particle,
  .hero-center-ring,
  .hero-glow-orb {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Dark Mode Support (optional) ---------- */
@media (prefers-color-scheme: dark) {
  /* Only apply if user prefers dark - keep light as default for this brand */
}

/* ---------- Safe Area (notch phones) ---------- */
@supports (padding: env(safe-area-inset-top)) {
  .navbar {
    padding-top: max(20px, env(safe-area-inset-top));
  }

  .footer {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-menu {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ---------- Content overflow prevention ---------- */
* {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  hyphens: auto;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Ensure no horizontal scroll ---------- */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ---------- Focus styles for accessibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Ensure tap targets are at least 44x44 */
@media (pointer: coarse) {
  .nav-links a,
  .mobile-toggle,
  .testimonial-nav-btn,
  .back-to-top,
  .footer-social a,
  .footer-col a,
  .hero-actions a,
  .btn-primary,
  .btn-secondary {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
