/* ============================================================
   RESPONSIVE FIXES - Sukrish SteelVridhi
   Covers all device dimensions from the reference image
   ============================================================ */

/* ============================================================
   1. GENERAL RESPONSIVE OVERRIDES
   ============================================================ */

/* Fix for very small screens */
@media (max-width: 320px) {
  .wrap {
    width: min(100% - 16px, 1200px);
    padding: 0 8px;
  }
  
  .eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    padding: 4px 10px;
  }
  
  h1, h2, .hero-content h1, .adv-heading, .cta-heading {
    font-size: clamp(1.4rem, 10vw, 2rem) !important;
  }
  
  .btn, .btn-gold, .btn-outline, .btn-primary, .btn-ghost {
    padding: 10px 14px !important;
    font-size: 0.7rem !important;
  }
}

/* ============================================================
   2. TOPBAR - All Devices
   ============================================================ */

/* iPhone SE, small phones */
@media (max-width: 375px) {
  .topbar {
    display: none !important;
  }
  
  .site-header {
    top: 0 !important;
    background: rgba(0, 0, 0, 0.85) !important;
  }
}

/* Tablets and above */
@media (min-width: 768px) and (max-width: 1024px) {
  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 6px 0;
  }
  
  .topbar-inner div {
    gap: 12px;
    font-size: 0.7rem;
  }
}

/* ============================================================
   3. HEADER / NAVIGATION - All Devices
   ============================================================ */

/* iPhone SE, iPhone XR, Pixel 7, Galaxy S8+, S20 Ultra, A51/71 */
@media (max-width: 480px) {
  .site-header {
    top: 0 !important;
    background: rgba(0, 0, 0, 0.88) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  
  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
  }
  
  .nav-wrap {
    height: 64px !important;
    padding: 0 12px;
  }
  
  .brand img {
    height: 42px !important;
    width: auto;
  }
  
  .brand .name {
    font-size: 1rem !important;
  }
  
  .brand .sub {
    font-size: 0.5rem !important;
    letter-spacing: 0.08em;
  }
  
  .menu-toggle span {
    width: 22px !important;
    height: 2px !important;
    margin: 5px 0 !important;
  }
  
  .nav-menu {
    top: 64px !important;
  }
  
  .nav-menu a {
    padding: 12px 18px !important;
    font-size: 0.75rem !important;
  }
  
  .nav-menu.active {
    max-height: 360px !important;
  }
}

/* Samsung Galaxy Z Fold 5, Surface Duo (foldable) */
@media (min-width: 481px) and (max-width: 768px) {
  .site-header {
    top: 0 !important;
    background: rgba(0, 0, 0, 0.82) !important;
  }
  
  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
  }
  
  .nav-wrap {
    height: 72px !important;
  }
  
  .brand img {
    height: 48px !important;
  }
  
  .nav-menu {
    top: 72px !important;
  }
  
  .nav-menu.active {
    max-height: 400px !important;
  }
}

/* iPad Mini, iPad Air, iPad Pro (tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-wrap {
    height: 80px !important;
  }
  
  .nav-menu {
    gap: 18px !important;
  }
  
  .nav-menu a {
    font-size: 0.82rem !important;
    padding: 28px 0 !important;
  }
  
  .brand img {
    height: 54px !important;
  }
  
  .quote-btn {
    padding: 10px 18px !important;
    font-size: 0.75rem !important;
  }
}

/* ============================================================
   4. HERO SLIDER - All Devices
   ============================================================ */

/* iPhone SE (375x667) */
@media (max-width: 375px) {
  .hero-slider {
    min-height: 580px !important;
    height: auto !important;
  }
  
  .hero-slide {
    min-height: 580px !important;
  }
  
  .hero-content {
    padding: 100px 0 80px !important;
    width: min(100% - 24px, 320px) !important;
  }
  
  .hero-content h1 {
    font-size: 1.8rem !important;
    line-height: 0.98 !important;
  }
  
  .hero-content p {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
  }
  
  .hero-actions {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .btn {
    width: 100% !important;
    padding: 10px 16px !important;
    font-size: 0.7rem !important;
  }
  
  .hero-dots {
    bottom: 18px !important;
    gap: 8px !important;
  }
  
  .hero-dots button {
    width: 8px !important;
    height: 8px !important;
  }
  
  .hero-stats {
    display: none !important;
  }
}

/* iPhone XR, 12 Pro, 14 Pro Max (390-430px) */
@media (min-width: 376px) and (max-width: 480px) {
  .hero-slider {
    min-height: 620px !important;
    height: auto !important;
  }
  
  .hero-slide {
    min-height: 620px !important;
  }
  
  .hero-content {
    padding: 110px 0 85px !important;
    width: min(100% - 28px, 400px) !important;
  }
  
  .hero-content h1 {
    font-size: 2.2rem !important;
    line-height: 0.95 !important;
  }
  
  .hero-content p {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
  }
  
  .hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  
  .hero-dots {
    bottom: 22px !important;
  }
  
  .hero-stats {
    display: none !important;
  }
}

/* Pixel 7, Galaxy S8+, S20 Ultra, A51/71 (480px+) */
@media (min-width: 481px) and (max-width: 640px) {
  .hero-slider {
    min-height: 660px !important;
    height: auto !important;
  }
  
  .hero-slide {
    min-height: 660px !important;
  }
  
  .hero-content {
    padding: 120px 0 90px !important;
    width: min(100% - 32px, 520px) !important;
  }
  
  .hero-content h1 {
    font-size: 2.6rem !important;
  }
  
  .hero-content p {
    font-size: 0.88rem !important;
  }
  
  .hero-stats {
    display: none !important;
  }
}

/* Tablets (iPad Mini, Air, Pro) */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-slider {
    min-height: 700px !important;
  }
  
  .hero-content {
    padding: 140px 0 110px !important;
    width: min(100% - 60px, 680px) !important;
  }
  
  .hero-content h1 {
    font-size: 3.4rem !important;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    width: 90% !important;
    max-width: 90% !important;
  }
  
  .stat-card {
    padding: 18px 24px !important;
  }
  
  .stat-card strong {
    font-size: 1.8rem !important;
  }
  
  .stat-card i {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }
}

/* Surface Pro 7, Asus Zenbook Fold, Nest Hub (1200px+) */
@media (min-width: 1025px) and (max-width: 1366px) {
  .hero-content h1 {
    font-size: 4.2rem !important;
  }
  
  .hero-stats {
    width: 80% !important;
  }
}

/* Galaxy Z Fold 5 (foldable mode) */
@media (max-width: 280px) {
  .hero-slider {
    min-height: 500px !important;
  }
  
  .hero-slide {
    min-height: 500px !important;
  }
  
  .hero-content {
    padding: 80px 0 60px !important;
  }
  
  .hero-content h1 {
    font-size: 1.5rem !important;
  }
  
  .hero-content p {
    font-size: 0.7rem !important;
  }
}

/* ============================================================
   5. STANDARDS STRIP - All Devices
   ============================================================ */

@media (max-width: 480px) {
  .standards-strip {
    padding: 14px 0 !important;
  }
  
  .strip-inner {
    gap: 10px !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
  
  .strip-inner strong {
    font-size: 0.6rem !important;
    margin-right: 8px !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  .strip-inner span {
    font-size: 0.6rem !important;
  }
  
  .strip-inner i {
    width: 4px !important;
    height: 4px !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .strip-inner {
    gap: 16px !important;
  }
  
  .strip-inner strong {
    font-size: 0.7rem !important;
  }
  
  .strip-inner span {
    font-size: 0.7rem !important;
  }
}

/* ============================================================
   6. PRODUCT SECTION - All Devices
   ============================================================ */

/* iPhone SE */
@media (max-width: 375px) {
  .products-section {
    padding: 40px 0 !important;
  }
  
  .products-section .wrap {
    width: 96% !important;
  }
  
  .section-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    margin-bottom: 24px !important;
  }
  
  .section-row h2 {
    font-size: 1.6rem !important;
    margin-top: 6px !important;
  }
  
  .section-row p {
    font-size: 0.78rem !important;
  }
  
  .small-btn {
    padding: 8px 14px !important;
    font-size: 0.65rem !important;
  }
  
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .product-card {
    padding: 0 !important;
    border-radius: 12px !important;
  }
  
  .product-card img {
    height: 160px !important;
  }
  
  .product-card b {
    top: 138px !important;
    left: 12px !important;
    font-size: 0.6rem !important;
    padding: 4px 8px !important;
  }
  
  .product-card h3 {
    font-size: 1rem !important;
    margin: 16px 14px 6px !important;
  }
  
  .product-card p {
    font-size: 0.75rem !important;
    margin: 0 14px 16px !important;
  }
}

/* iPhone XR, 12 Pro, 14 Pro Max, Pixel 7 */
@media (min-width: 376px) and (max-width: 480px) {
  .products-section {
    padding: 44px 0 !important;
  }
  
  .products-section .wrap {
    width: 94% !important;
  }
  
  .section-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  
  .section-row h2 {
    font-size: 1.8rem !important;
  }
  
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  
  .product-card img {
    height: 180px !important;
  }
  
  .product-card b {
    top: 158px !important;
  }
  
  .product-card h3 {
    font-size: 1.1rem !important;
  }
}

/* Galaxy S8+, S20 Ultra, A51/71 (481-640px) */
@media (min-width: 481px) and (max-width: 640px) {
  .products-section .wrap {
    width: 92% !important;
  }
  
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .product-card img {
    height: 200px !important;
  }
  
  .product-card b {
    top: 175px !important;
  }
}

/* Tablets (768-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .products-section .wrap {
    width: 90% !important;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  
  .section-row h2 {
    font-size: 2.2rem !important;
  }
}

/* Surface Pro 7, Nest Hub (1024-1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
}

/* Galaxy Z Fold 5 (ultra narrow) */
@media (max-width: 280px) {
  .product-card img {
    height: 140px !important;
  }
  
  .product-card b {
    top: 118px !important;
    font-size: 0.5rem !important;
    padding: 3px 6px !important;
  }
  
  .product-card h3 {
    font-size: 0.85rem !important;
  }
  
  .product-card p {
    font-size: 0.7rem !important;
  }
}

/* ============================================================
   7. COUNTER STRIP - All Devices
   ============================================================ */

@media (max-width: 480px) {
  .counter-strip {
    margin-top: -20px !important;
  }
  
  .counter-box {
    grid-template-columns: repeat(2, 1fr) !important;
    border-radius: 12px !important;
  }
  
  .counter-item {
    padding: 16px 12px !important;
  }
  
  .counter-item:nth-child(1),
  .counter-item:nth-child(2) {
    border-bottom: 1px solid rgba(208, 160, 58, 0.18) !important;
  }
  
  .counter-item:nth-child(2) {
    border-right: none !important;
  }
  
  .counter-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }
  
  .counter-item h3 {
    font-size: 1.5rem !important;
  }
  
  .counter-item p {
    font-size: 0.6rem !important;
    letter-spacing: 0.5px !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .counter-box {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .counter-item:nth-child(2) {
    border-right: none !important;
  }
  
  .counter-item:nth-child(1),
  .counter-item:nth-child(2) {
    border-bottom: 1px solid rgba(208, 160, 58, 0.18) !important;
  }
  
  .counter-item h3 {
    font-size: 1.8rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .counter-box {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  
  .counter-item {
    padding: 20px 16px !important;
  }
  
  .counter-item h3 {
    font-size: 2rem !important;
  }
}

/* Galaxy Z Fold 5 */
@media (max-width: 280px) {
  .counter-box {
    grid-template-columns: 1fr !important;
  }
  
  .counter-item {
    border-bottom: 1px solid rgba(208, 160, 58, 0.18) !important;
    border-right: none !important;
  }
}

/* ============================================================
   8. ADVANTAGE SECTION - All Devices
   ============================================================ */

@media (max-width: 480px) {
  .advantage-section {
    padding: 40px 0 !important;
  }
  
  .advantage-section .wrap {
    width: 96% !important;
  }
  
  .adv-top {
    gap: 12px !important;
    margin-bottom: 24px !important;
  }
  
  .adv-heading {
    font-size: 1.5rem !important;
    white-space: normal !important;
    line-height: 1.2 !important;
  }
  
  .adv-top-right p {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
  }
  
  .adv-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  
  .adv-card {
    height: 160px !important;
  }
  
  .adv-card-front,
  .adv-card-back {
    padding: 12px !important;
  }
  
  .adv-card-icon {
    font-size: 1.2rem !important;
    margin: 4px 0 !important;
  }
  
  .adv-card h3 {
    font-size: 0.7rem !important;
    margin-bottom: 6px !important;
  }
  
  .adv-card p {
    font-size: 0.6rem !important;
    line-height: 1.3 !important;
  }
  
  .adv-card-back p {
    font-size: 0.6rem !important;
  }
  
  .adv-card-btn {
    font-size: 0.6rem !important;
    padding: 4px 10px !important;
  }
  
  .adv-card-num {
    font-size: 0.6rem !important;
  }
  
  .adv-bg-word {
    font-size: 60px !important;
  }
}

@media (min-width: 481px) and (max-width: 640px) {
  .adv-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  
  .adv-card {
    height: 170px !important;
  }
  
  .adv-heading {
    font-size: 1.7rem !important;
    white-space: normal !important;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .adv-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  
  .adv-card {
    height: 190px !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .adv-cards {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .adv-card {
    height: 200px !important;
  }
}

/* ============================================================
   9. PROCESS SECTION - All Devices
   ============================================================ */

@media (max-width: 480px) {
  .process-section {
    padding: 40px 0 !important;
  }
  
  .section-head.center {
    margin-bottom: 36px !important;
  }
  
  .section-head.center h2 {
    font-size: 1.5rem !important;
  }
  
  .process-line {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  .process-step {
    text-align: left !important;
    padding-left: 56px !important;
    padding-right: 0 !important;
  }
  
  .step-node {
    width: 44px !important;
    height: 44px !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    margin: 0 !important;
  }
  
  .step-node b {
    font-size: 0.85rem !important;
  }
  
  .process-step:not(:last-child)::before,
  .process-step:not(:last-child)::after {
    top: 44px !important;
    left: 22px !important;
    width: 2px !important;
    height: calc(100% + 32px - 44px) !important;
  }
  
  .process-step span {
    font-size: 0.7rem !important;
  }
  
  .process-step:not(:last-child)::after {
    animation-name: lineDrawVertical !important;
  }
  
  @keyframes lineDrawVertical {
    to { height: calc(100% + 32px - 44px) !important; }
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .process-line {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .process-step {
    text-align: left !important;
    padding-left: 68px !important;
    padding-right: 0 !important;
  }
  
  .step-node {
    width: 50px !important;
    height: 50px !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    margin: 0 !important;
  }
  
  .process-step:not(:last-child)::before,
  .process-step:not(:last-child)::after {
    top: 50px !important;
    left: 25px !important;
    width: 2px !important;
    height: calc(100% + 40px - 50px) !important;
  }
  
  .process-step:not(:last-child)::after {
    animation-name: lineDrawVertical !important;
  }
  
  @keyframes lineDrawVertical {
    to { height: calc(100% + 40px - 50px) !important; }
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .process-step span {
    font-size: 0.7rem !important;
  }
  
  .step-node {
    width: 52px !important;
    height: 52px !important;
  }
}

/* ============================================================
   10. BRANDS SECTION - All Devices
   ============================================================ */

@media (max-width: 480px) {
  .brands-section {
    padding: 40px 0 !important;
  }
  
  .brands-heading {
    margin-bottom: 30px !important;
  }
  
  .brands-heading h2 {
    font-size: 1.5rem !important;
  }
  
  .brands-heading p {
    font-size: 0.78rem !important;
  }
  
  .brands-track {
    gap: 24px !important;
  }
  
  .brand-card img {
    height: 32px !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .brands-track {
    gap: 32px !important;
  }
  
  .brand-card img {
    height: 38px !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .brands-track {
    gap: 40px !important;
  }
  
  .brand-card img {
    height: 48px !important;
  }
}

/* ============================================================
   11. CATALOGUE SECTION - All Devices
   ============================================================ */

@media (max-width: 480px) {
  .catalogue-section {
    padding: 30px 0 !important;
  }
  
  .catalogue-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .pdf-card {
    width: 160px !important;
    height: 210px !important;
  }
  
  .pdf-top {
    height: 110px !important;
  }
  
  .pdf-top i {
    font-size: 40px !important;
  }
  
  .pdf-bottom {
    padding: 12px !important;
  }
  
  .pdf-bottom h3 {
    font-size: 18px !important;
  }
  
  .pdf-bottom p {
    font-size: 0.7rem !important;
    margin-bottom: 6px !important;
  }
  
  .pdf-bottom span {
    font-size: 0.6rem !important;
    padding: 4px 12px !important;
  }
  
  .catalogue-content {
    text-align: center !important;
  }
  
  .catalogue-content h2 {
    font-size: 1.4rem !important;
  }
  
  .catalogue-content p {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
  }
  
  .catalogue-features {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    text-align: left !important;
  }
  
  .catalogue-features div {
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
  }
  
  .catalogue-btn {
    padding: 10px 18px !important;
    font-size: 0.78rem !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .catalogue-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .catalogue-content {
    text-align: center !important;
  }
  
  .catalogue-features {
    justify-content: center !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .catalogue-grid {
    grid-template-columns: 240px 1fr !important;
    gap: 30px !important;
  }
  
  .pdf-card {
    width: 190px !important;
    height: 260px !important;
  }
}

/* ============================================================
   12. CTA SECTION - All Devices
   ============================================================ */

@media (max-width: 480px) {
  .cta-section {
    padding: 50px 0 !important;
  }
  
  .cta-badge {
    font-size: 0.6rem !important;
    padding: 4px 12px !important;
    margin-bottom: 16px !important;
  }
  
  .cta-heading {
    font-size: 1.5rem !important;
    line-height: 1.15 !important;
  }
  
  .cta-sub {
    font-size: 0.8rem !important;
    margin-bottom: 24px !important;
  }
  
  .cta-btn {
    padding: 12px 24px !important;
    font-size: 0.8rem !important;
  }
  
  .cta-section::before {
    width: 300px !important;
    height: 300px !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .cta-heading {
    font-size: 2rem !important;
  }
}

/* ============================================================
   13. TESTIMONIALS SECTION - All Devices
   ============================================================ */

@media (max-width: 480px) {
  .testimonials-section {
    padding: 40px 0 36px !important;
  }
  
  .testi-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 28px !important;
  }
  
  .testi-header h2 {
    font-size: 1.4rem !important;
  }
  
  .testi-subtitle {
    font-size: 0.78rem !important;
    max-width: 100% !important;
  }
  
  .testi-card {
    width: 240px !important;
    padding: 18px 14px 14px !important;
    gap: 10px !important;
  }
  
  .testi-avatar {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.6rem !important;
  }
  
  .testi-stars {
    font-size: 0.6rem !important;
  }
  
  .testi-card p {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
  }
  
  .testi-author strong {
    font-size: 0.7rem !important;
  }
  
  .testi-author span {
    font-size: 0.65rem !important;
  }
  
  .testi-tag {
    font-size: 0.55rem !important;
    padding: 2px 8px !important;
  }
  
  .testi-strip-outer::before,
  .testi-strip-outer::after {
    width: 40px !important;
  }
  
  .testi-strip-track {
    gap: 14px !important;
  }
}

@media (min-width: 481px) and (max-width: 640px) {
  .testi-card {
    width: 260px !important;
    padding: 20px 16px 16px !important;
  }
  
  .testi-header h2 {
    font-size: 1.6rem !important;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .testi-card {
    width: 280px !important;
  }
  
  .testi-header h2 {
    font-size: 1.8rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .testi-card {
    width: 300px !important;
  }
}

/* ============================================================
   14. MARQUEE STRIP - All Devices
   ============================================================ */

@media (max-width: 480px) {
  .marquee-strip {
    padding: 10px 0 !important;
  }
  
  .marquee-strip::before,
  .marquee-strip::after {
    width: 40px !important;
  }
  
  .marquee-inner span {
    font-size: 0.6rem !important;
    padding: 0 14px !important;
    letter-spacing: 0.1em !important;
  }
  
  .marquee-inner i {
    font-size: 0.5rem !important;
  }
  
  .marquee-inner {
    animation-duration: 18s !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .marquee-inner span {
    font-size: 0.7rem !important;
    padding: 0 18px !important;
  }
  
  .marquee-inner {
    animation-duration: 22s !important;
  }
}
/* ============================================================
   15. FOOTER - All Devices (UPDATED with Centering)
   ============================================================ */

/* iPhone SE, iPhone XR, 12 Pro, 14 Pro Max, Pixel 7, Galaxy phones */
@media (max-width: 480px) {
  .footer {
    padding-top: 40px !important;
    text-align: center !important; /* Center all footer content */
  }
  
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-bottom: 28px !important;
    text-align: center !important; /* Center grid items */
  }
  
  /* Center the logo */
  .footer-logo {
    width: 140px !important;
    margin: 0 auto 12px !important;
    display: block !important;
  }
  
  /* Center the brand/logo container */
  .footer-brand {
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
  
  .footer-brand img {
    height: 34px !important;
    margin: 0 auto !important;
  }
  
  .footer-brand .name {
    font-size: 1rem !important;
    text-align: center !important;
  }
  
  /* Center headings */
  .footer h4 {
    font-size: 1rem !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    position: relative;
    display: inline-block !important;
  }
  
  /* Add subtle underline to headings on mobile */
  .footer h4::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold, #d0a03a);
    margin: 6px auto 0;
  }
  
  /* Center all links and paragraphs */
  .footer a,
  .footer p {
    font-size: 0.8rem !important;
    margin-bottom: 6px !important;
    text-align: center !important;
    display: block !important;
  }
  
  /* Style contact info with icons */
  .footer p b {
    display: block !important;
    color: var(--gold, #d0a03a);
    font-weight: 700;
    margin-bottom: 2px;
  }
  
  /* Center the description */
  .footer p.desc {
    font-size: 0.78rem !important;
    max-width: 280px !important;
    margin: 0 auto 10px !important;
    text-align: center !important;
    line-height: 1.6 !important;
  }
  
  /* Footer bottom - center everything */
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 16px 0 !important;
    font-size: 0.7rem !important;
    gap: 8px !important;
  }
  
  .footer-bottom a {
    color: var(--gold, #d0a03a);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-bottom a:hover {
    color: var(--gold-2, #f3c85f);
    text-decoration: underline;
  }
  
  .footer-bottom span {
    display: block !important;
    text-align: center !important;
  }
  
  /* Contact section - center and add spacing */
  .footer-grid > div:last-child p {
    text-align: center !important;
  }
  
  .footer-grid > div:last-child p b {
    display: inline !important;
    color: var(--gold, #d0a03a);
  }
}

/* Samsung Galaxy S8+, S20 Ultra, A51/71 (481-640px) */
@media (min-width: 481px) and (max-width: 640px) {
  .footer {
    text-align: center !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }
  
  .footer-logo {
    margin: 0 auto 10px !important;
    display: block !important;
  }
  
  .footer h4 {
    text-align: center !important;
  }
  
  .footer h4::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: var(--gold, #d0a03a);
    margin: 6px auto 0;
  }
  
  .footer a,
  .footer p {
    text-align: center !important;
  }
  
  .footer p.desc {
    margin: 0 auto 10px !important;
    text-align: center !important;
  }
  
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
  }
  
  .footer-bottom a {
    color: var(--gold, #d0a03a);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-bottom a:hover {
    color: var(--gold-2, #f3c85f);
    text-decoration: underline;
  }
  
  /* First column spans full width */
  .footer-grid > div:first-child {
    grid-column: 1 / -1 !important;
  }
}

/* Small tablets (641-768px) */
@media (min-width: 641px) and (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
  
  .footer h4 {
    font-size: 1.1rem !important;
  }
  
  .footer-logo {
    width: 160px !important;
  }
  
  .footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  
  .footer-bottom a {
    color: var(--gold, #d0a03a);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-bottom a:hover {
    color: var(--gold-2, #f3c85f);
    text-decoration: underline;
  }
}

/* Tablets (769-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.9fr 1fr 1.2fr !important;
    gap: 30px !important;
  }
  
  .footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  
  .footer-bottom a {
    color: var(--gold, #d0a03a);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-bottom a:hover {
    color: var(--gold-2, #f3c85f);
    text-decoration: underline;
  }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
  .footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  
  .footer-bottom a {
    color: var(--gold, #d0a03a);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-bottom a:hover {
    color: var(--gold-2, #f3c85f);
    text-decoration: underline;
  }
}

/* ============================================================
   15a. FOOTER - EXTRA SMALL (below 320px)
   ============================================================ */

@media (max-width: 320px) {
  .footer {
    padding-top: 30px !important;
  }
  
  .footer-grid {
    gap: 20px !important;
    padding-bottom: 20px !important;
  }
  
  .footer-logo {
    width: 100px !important;
  }
  
  .footer h4 {
    font-size: 0.85rem !important;
  }
  
  .footer a,
  .footer p {
    font-size: 0.7rem !important;
  }
  
  .footer p.desc {
    font-size: 0.7rem !important;
    max-width: 220px !important;
  }
  
  .footer-bottom {
    font-size: 0.6rem !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
  }
  
  .footer-bottom a {
    color: var(--gold, #d0a03a);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-bottom a:hover {
    color: var(--gold-2, #f3c85f);
    text-decoration: underline;
  }
}

/* ============================================================
   15b. FOOTER - LANDSCAPE PHONE FIX
   ============================================================ */

@media (max-height: 500px) and (orientation: landscape) and (max-width: 768px) {
  .footer {
    padding-top: 30px !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    padding-bottom: 16px !important;
  }
  
  .footer-logo {
    width: 80px !important;
  }
  
  .footer h4 {
    font-size: 0.75rem !important;
    margin-bottom: 6px !important;
  }
  
  .footer a,
  .footer p {
    font-size: 0.65rem !important;
    margin-bottom: 3px !important;
  }
  
  .footer-bottom {
    padding: 10px 0 !important;
    font-size: 0.6rem !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 4px !important;
  }
  
  .footer-bottom a {
    color: var(--gold, #d0a03a);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-bottom a:hover {
    color: var(--gold-2, #f3c85f);
    text-decoration: underline;
  }
}

/* ============================================================
   15c. FOOTER - FOLDABLE DEVICES (Galaxy Z Fold, Surface Duo)
   ============================================================ */

@media (min-width: 540px) and (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  
  .footer-logo {
    margin: 0 auto 8px !important;
    display: block !important;
  }
  
  .footer p.desc {
    text-align: center !important;
    margin: 0 auto 8px !important;
  }
  
  .footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  
  .footer-bottom a {
    color: var(--gold, #d0a03a);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-bottom a:hover {
    color: var(--gold-2, #f3c85f);
    text-decoration: underline;
  }
}
/* ============================================================
   16. WHATSAPP BUTTON - Fixed with Icon
   ============================================================ */

/* WhatsApp Floating Button */
.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #ffffff;
  font-size: 32px;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.whatsapp:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 12px 45px rgba(37, 211, 102, 0.5);
  background: #1ebe5c;
}

.whatsapp i {
  font-size: 34px;
  line-height: 1;
}

/* Pulse animation */
.whatsapp::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: whatsappPulse 2s ease-out infinite;
  opacity: 0;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Mobile - smaller button */
@media (max-width: 480px) {
  .whatsapp {
    width: 52px !important;
    height: 52px !important;
    font-size: 26px !important;
    right: 16px !important;
    bottom: 16px !important;
  }
  
  .whatsapp i {
    font-size: 28px !important;
  }
}

/* Extra small phones */
@media (max-width: 375px) {
  .whatsapp {
    width: 46px !important;
    height: 46px !important;
    font-size: 22px !important;
    right: 12px !important;
    bottom: 12px !important;
  }
  
  .whatsapp i {
    font-size: 24px !important;
  }
}

/* ============================================================
   17. REVEAL ANIMATIONS - All Devices
   ============================================================ */

@media (max-width: 480px) {
  .reveal {
    transform: translateY(24px) !important;
    transition: 0.5s ease !important;
  }
  
  .reveal.active {
    transform: translateY(0) !important;
  }
}

/* ============================================================
   18. SURFACE DUO / FOLDABLE DEVICES
   ============================================================ */

@media (min-width: 540px) and (max-width: 720px) {
  /* Surface Duo specific */
  .hero-content {
    padding: 130px 0 100px !important;
  }
  
  .hero-content h1 {
    font-size: 2.8rem !important;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .adv-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ============================================================
   19. NEST HUB / NEST HUB MAX - All Devices
   ============================================================ */

@media (min-width: 1024px) and (max-width: 1280px) and (orientation: landscape) {
  /* Nest Hub specific */
  .hero-slider {
    min-height: 580px !important;
    height: auto !important;
  }
  
  .hero-content {
    padding: 100px 0 80px !important;
  }
  
  .hero-content h1 {
    font-size: 3rem !important;
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .adv-cards {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ============================================================
   20. ASUS ZENBOOK FOLD - All Devices
   ============================================================ */

@media (min-width: 1280px) and (max-width: 1920px) {
  .hero-content h1 {
    font-size: 4.8rem !important;
  }
  
  .product-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  
  .product-card img {
    height: 240px !important;
  }
}

/* ============================================================
   21. ADDITIONAL SAFETY FIXES FOR ALL DEVICES
   ============================================================ */

/* Fix for very tall screens (like Nest Hub Max in portrait) */
@media (min-height: 800px) and (max-width: 480px) {
  .hero-slider {
    min-height: 780px !important;
  }
  
  .hero-slide {
    min-height: 780px !important;
  }
  
  .hero-content {
    padding: 160px 0 120px !important;
  }
}

/* Fix for landscape mode on phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-slider {
    min-height: 480px !important;
  }
  
  .hero-slide {
    min-height: 480px !important;
  }
  
  .hero-content {
    padding: 80px 0 60px !important;
  }
  
  .hero-content h1 {
    font-size: 2.2rem !important;
  }
  
  .hero-content p {
    font-size: 0.8rem !important;
    margin-bottom: 16px !important;
  }
  
  .hero-stats {
    display: none !important;
  }
  
  .hero-dots {
    bottom: 14px !important;
  }
}

/* Fix for iPads in landscape */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .hero-content {
    padding: 160px 0 130px !important;
  }
  
  .hero-content h1 {
    font-size: 4.5rem !important;
  }
}

/* Fix for small tablets in portrait */
@media (min-width: 768px) and (max-width: 820px) and (orientation: portrait) {
  .hero-content {
    padding: 150px 0 120px !important;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .adv-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Fix for Galaxy Z Fold 5 in unfolded mode */
@media (min-width: 800px) and (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .adv-cards {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Fix for very narrow foldable devices */
@media (max-width: 280px) {
  .wrap {
    width: 100% !important;
    padding: 0 6px !important;
  }
  
  .hero-content {
    padding: 70px 0 50px !important;
  }
  
  .hero-content h1 {
    font-size: 1.4rem !important;
  }
  
  .hero-content p {
    font-size: 0.65rem !important;
  }
  
  .btn {
    padding: 8px 12px !important;
    font-size: 0.6rem !important;
  }
  
  .product-card h3 {
    font-size: 0.8rem !important;
  }
  
  .product-card p {
    font-size: 0.65rem !important;
  }
  
  .adv-card h3 {
    font-size: 0.6rem !important;
  }
  
  .adv-card p {
    font-size: 0.5rem !important;
  }
}

/* ============================================================
   END OF RESPONSIVE FIXES
   ============================================================ */