/* ══════════════════════════════════════════════════════════════
   COMPLETE RESPONSIVE CSS - ALL SCREEN SIZES
   Covers: 320px, 360px, 375px, 480px, 600px, 768px, 920px, 1024px, 1200px+
   ══════════════════════════════════════════════════════════════ */

/* ── ULTRA SMALL SCREENS (320px - 360px) ──────────────────── */
@media (max-width: 360px) {
  .container {
    width: calc(100% - 16px) !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  .sec {
    padding: 24px 0;
  }
  
  /* Hero */
  .hero-wrap {
    padding: 80px 8px 32px;
    flex-direction: column;
  }
  
  .hero {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .hero h1 {
    font-size: clamp(22px, 7vw, 32px);
  }
  
  .hero h1 .typed-line-small {
    font-size: clamp(16px, 5.5vw, 28px);
  }
  
  .subtitle {
    font-size: 13px;
    max-width: 100%;
  }
  
  .cta-primary, .cta-secondary {
    padding: 12px 20px;
    font-size: 13px;
  }
  
  .hero-visual {
    display: none !important;
  }
  
  /* Services */
  .svc-card2 {
    padding: 16px 12px;
  }
  
  .svc-card2 h3 {
    font-size: 14px;
  }
  
  .svc-card2 p {
    font-size: 11px;
  }
  
  /* Stats */
  .stat-card {
    padding: 16px 12px;
  }
  
  .stat-card strong {
    font-size: 24px;
  }
  
  .stat-card p {
    font-size: 11px;
  }
  
  /* Tech */
  .tech-tab {
    font-size: 9px;
    padding: 4px 10px;
  }
  
  .tech-chip {
    padding: 6px 10px;
    flex: 1 1 100px;
    max-width: 140px;
  }
  
  .tech-chip img {
    width: 16px;
    height: 16px;
  }
  
  .tech-chip span {
    font-size: 10px;
  }
  
  /* Testimonials */
  .test-card {
    padding: 16px 12px;
  }
  
  .test-card p {
    font-size: 12px;
  }
  
  /* FAQ */
  .faq-item summary {
    padding: 12px 14px;
    font-size: 12px;
  }
  
  .faq-answer {
    padding: 12px 14px;
  }
  
  .faq-answer p {
    font-size: 11px;
  }
}

/* ── SMALL PHONES (375px - 480px) ──────────────────────────── */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px) !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  .sec {
    padding: 28px 0;
  }
  
  .sec-head h2 {
    font-size: clamp(20px, 5vw, 28px);
  }
  
  .sec-head p {
    font-size: 13px;
  }
  
  /* Hero */
  .hero-wrap {
    padding: 90px 12px 40px;
    flex-direction: column;
  }
  
  .hero {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .hero h1 {
    font-size: clamp(24px, 7.5vw, 36px);
  }
  
  .hero h1 .typed-line-small {
    font-size: clamp(18px, 6vw, 32px);
  }
  
  .subtitle {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 52px;
  }
  
  .cta-row {
    gap: 36px;
    margin-top: 60px;
    margin-bottom: 48px;
  }
  
  .cta-primary, .cta-secondary {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .hero-trust {
    font-size: 11px;
    margin-top: 44px;
  }
  
  .hero-visual {
    display: none !important;
  }
  
  /* Services */
  .services-bento {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .svc-card2 {
    padding: 18px 14px;
  }
  
  .svc-card2 h3 {
    font-size: 15px;
  }
  
  .svc-card2 p {
    font-size: 12px;
  }
  
  .svc-featured {
    grid-column: span 1;
  }
  
  /* Case Studies */
  .cases-stage {
    height: 320px;
  }
  
  .case-card {
    width: 240px;
    height: 280px;
    padding: 16px 14px;
  }
  
  .case-card h4 {
    font-size: 14px;
  }
  
  .case-card p {
    font-size: 11px;
  }
  
  /* Partners */
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .partner-card {
    padding: 12px 8px;
  }
  
  .partner-card img {
    max-height: 28px;
  }
  
  /* Clients */
  .marquee-item {
    width: 110px;
    padding: 14px 10px 12px;
  }
  
  .marquee-item img {
    width: 44px;
    height: 34px;
  }
  
  .marquee-item span {
    font-size: 10px;
  }
  
  /* Tech Stack */
  .tech-tabs {
    gap: 6px;
    flex-wrap: wrap;
  }
  
  .tech-tab {
    font-size: 10px;
    padding: 5px 12px;
  }
  
  .tech-panels {
    gap: 10px;
  }
  
  .tech-chip {
    padding: 6px 12px;
    flex: 1 1 120px;
    max-width: 160px;
  }
  
  .tech-chip img {
    width: 18px;
    height: 18px;
  }
  
  .tech-chip span {
    font-size: 11px;
  }
  
  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .stat-card {
    padding: 20px 14px;
  }
  
  .stat-card strong {
    font-size: 28px;
  }
  
  .stat-card p {
    font-size: 12px;
  }
  
  /* Testimonials */
  .testimonials-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .test-card {
    padding: 20px 16px;
  }
  
  .test-card p {
    font-size: 13px;
  }
  
  /* Why Section */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .why-visual {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .glow-card {
    padding: 16px 14px;
  }
  
  .glow-card strong {
    font-size: 15px;
  }
  
  /* FAQ */
  .faq-item summary {
    padding: 14px 16px;
    font-size: 13px;
  }
  
  .faq-answer {
    padding: 14px 16px;
  }
  
  .faq-answer p {
    font-size: 12px;
  }
  
  /* Footer */
  .ft-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-col {
    text-align: center;
  }
  
  .footer-col h4 {
    font-size: 13px;
  }
  
  .footer-col a {
    font-size: 12px;
  }
}

/* ── LARGE PHONES (600px) ──────────────────────────────────── */
@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  .sec {
    padding: 36px 0;
  }
  
  .sec-head h2 {
    font-size: clamp(22px, 5.5vw, 32px);
  }
  
  .sec-head p {
    font-size: 14px;
  }
  
  /* Hero */
  .hero-wrap {
    flex-direction: column;
  }
  
  .hero {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .hero-visual {
    display: none !important;
  }
  
  /* Services */
  .services-bento {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .svc-card2 {
    padding: 20px 16px;
  }
  
  .svc-card2 h3 {
    font-size: 16px;
  }
  
  .svc-card2 p {
    font-size: 13px;
  }
  
  /* Case Studies */
  .cases-stage {
    height: 360px;
  }
  
  .case-card {
    width: 260px;
    height: 300px;
    padding: 20px 16px;
  }
  
  .case-card h4 {
    font-size: 15px;
  }
  
  .case-card p {
    font-size: 12px;
  }
  
  /* Partners */
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .partner-card {
    padding: 16px 12px;
  }
  
  .partner-card img {
    max-height: 32px;
  }
  
  /* Clients */
  .marquee-item {
    width: 130px;
    padding: 16px 12px 14px;
  }
  
  .marquee-item img {
    width: 52px;
    height: 40px;
  }
  
  /* Tech Stack */
  .tech-tab {
    font-size: 11px;
    padding: 6px 14px;
  }
  
  .tech-chip {
    padding: 8px 14px;
    flex: 1 1 140px;
    max-width: 200px;
  }
  
  .tech-chip img {
    width: 20px;
    height: 20px;
  }
  
  .tech-chip span {
    font-size: 12px;
  }
  
  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-card {
    padding: 24px 16px;
  }
  
  .stat-card strong {
    font-size: 32px;
  }
  
  .stat-card p {
    font-size: 13px;
  }
  
  /* Testimonials */
  .testimonials-track {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .test-card {
    padding: 24px 20px;
  }
  
  .test-card p {
    font-size: 14px;
  }
  
  /* Why Section */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .why-visual {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .glow-card {
    padding: 20px 16px;
  }
  
  .glow-card strong {
    font-size: 16px;
  }
  
  /* FAQ */
  .faq-item summary {
    padding: 16px 18px;
    font-size: 14px;
  }
  
  .faq-answer {
    padding: 16px 18px;
  }
  
  .faq-answer p {
    font-size: 13px;
  }
}

/* ── TABLETS (768px) ───────────────────────────────────────── */
@media (max-width: 768px) {
  .container {
    width: calc(100% - 40px) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  .sec {
    padding: 44px 0;
  }
  
  .sec-head h2 {
    font-size: clamp(24px, 6vw, 36px);
  }
  
  .sec-head p {
    font-size: 15px;
  }
  
  /* Hero */
  .hero-wrap {
    padding: 100px 20px 48px;
    flex-direction: column;
  }
  
  .hero {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .hero h1 {
    font-size: clamp(28px, 6vw, 42px);
  }
  
  .hero h1 .typed-line-small {
    font-size: clamp(20px, 5vw, 36px);
  }
  
  .hero-visual {
    display: none !important;
  }
  
  /* Services */
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .svc-card2 {
    padding: 24px 20px;
  }
  
  .svc-card2 h3 {
    font-size: 18px;
  }
  
  .svc-card2 p {
    font-size: 14px;
  }
  
  .svc-featured {
    grid-column: span 2;
  }
  
  /* Case Studies */
  .cases-stage {
    height: 400px;
  }
  
  .case-card {
    width: 280px;
    height: 320px;
  }
  
  .case-card h4 {
    font-size: 16px;
  }
  
  .case-card p {
    font-size: 13px;
  }
  
  /* Partners */
  .partner-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  
  .partner-card {
    padding: 20px 14px;
  }
  
  .partner-card img {
    max-height: 36px;
  }
  
  /* Clients */
  .marquee-item {
    width: 130px;
    padding: 16px 12px 14px;
  }
  
  .marquee-item img {
    width: 52px;
    height: 40px;
  }
  
  /* Tech Stack */
  .tech-tab {
    font-size: 12px;
    padding: 7px 16px;
  }
  
  .tech-chip {
    padding: 12px 20px;
    flex: 1 1 160px;
    max-width: 240px;
  }
  
  .tech-chip img {
    width: 22px;
    height: 22px;
  }
  
  .tech-chip span {
    font-size: 13px;
  }
  
  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-card {
    padding: 32px 24px;
  }
  
  .stat-card strong {
    font-size: 36px;
  }
  
  .stat-card p {
    font-size: 14px;
  }
  
  /* Testimonials */
  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .test-card {
    padding: 28px 24px;
  }
  
  .test-card p {
    font-size: 15px;
  }
  
  /* Why Section */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .why-visual {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .glow-card {
    padding: 24px 20px;
  }
  
  .glow-card strong {
    font-size: 18px;
  }
  
  /* FAQ */
  .faq-item summary {
    padding: 18px 20px;
    font-size: 15px;
  }
  
  .faq-answer {
    padding: 18px 20px;
  }
  
  .faq-answer p {
    font-size: 14px;
  }
}

/* ── LARGE TABLETS (920px) ─────────────────────────────────── */
@media (max-width: 920px) {
  .container {
    width: calc(100% - 48px) !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  
  .sec {
    padding: 48px 0;
  }
  
  /* Hero */
  .hero-wrap {
    flex-direction: column;
  }
  
  .hero {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .hero-visual {
    display: none !important;
  }
  
  /* Services */
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  
  .svc-featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  /* Case Studies */
  .cases-stage {
    height: 440px;
  }
  
  .case-card {
    width: 300px;
    height: 340px;
  }
  
  /* Partners */
  .partner-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  
  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  
  .stat-card {
    padding: 36px 28px;
  }
  
  .stat-card strong {
    font-size: 40px;
  }
  
  /* Testimonials */
  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  /* Why Section */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .why-visual {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* ── SMALL DESKTOP (1024px) ────────────────────────────────── */
@media (max-width: 1024px) {
  .container {
    width: calc(100% - 56px) !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
  
  .sec {
    padding: 52px 0;
  }
  
  /* Hero */
  .hero-wrap {
    flex-direction: row;
  }
  
  .hero {
    width: 60% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .hero-visual {
    display: flex !important;
    width: 40%;
  }
  
  /* Services */
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .svc-featured {
    grid-column: span 2;
  }
  
  /* Case Studies */
  .cases-stage {
    height: 480px;
  }
  
  .case-card {
    width: 320px;
    height: 360px;
  }
  
  /* Partners */
  .partner-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }
  
  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .stat-card {
    padding: 40px 32px;
  }
  
  .stat-card strong {
    font-size: 44px;
  }
  
  /* Testimonials */
  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  
  /* Why Section */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .why-visual {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* ── LARGE DESKTOP (1200px+) ───────────────────────────────── */
@media (min-width: 1200px) {
  .container {
    width: calc(100% - 64px) !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  
  .sec {
    padding: 60px 0;
  }
  
  /* Hero */
  .hero-wrap {
    flex-direction: row;
  }
  
  .hero {
    width: 60% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .hero-visual {
    display: flex !important;
    width: 40%;
  }
  
  /* Services */
  .services-bento {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  
  .svc-featured {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  /* Case Studies */
  .cases-stage {
    height: 520px;
  }
  
  .case-card {
    width: 340px;
    height: 380px;
  }
  
  /* Partners */
  .partner-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  
  /* Stats */
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
  }
  
  .stat-card {
    padding: 44px 36px;
  }
  
  .stat-card strong {
    font-size: 48px;
  }
  
  /* Testimonials */
  .testimonials-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  
  /* Why Section */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
  
  .why-visual {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}


/* ══════════════════════════════════════════════════════════════
   FLOATING ELEMENTS & HERO VISUAL RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* Hide floating elements on small screens */
@media (max-width: 920px) {
  .code-card,
  .float-stat-card,
  .floating-icon {
    display: none !important;
  }
}

/* Adjust floating elements on medium screens */
@media (max-width: 1024px) and (min-width: 921px) {
  .code-card {
    width: 280px;
    height: auto;
    transform: rotateY(-2deg) rotateX(1deg);
  }
  
  .float-stat-card {
    padding: 12px 14px;
    font-size: 12px;
  }
  
  .float-stat-card strong {
    font-size: 16px;
  }
  
  .floating-icon {
    width: 32px;
    height: 32px;
  }
  
  .floating-icon img {
    width: 32px;
    height: 32px;
  }
}

/* Adjust floating elements on large screens */
@media (min-width: 1200px) {
  .code-card {
    width: 320px;
    height: auto;
  }
  
  .float-stat-card {
    padding: 16px 18px;
  }
  
  .floating-icon {
    width: 40px;
    height: 40px;
  }
  
  .floating-icon img {
    width: 40px;
    height: 40px;
  }
}

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .about-text h2 {
    font-size: clamp(20px, 5vw, 28px);
  }
  
  .about-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .metric-card {
    padding: 16px 12px;
  }
  
  .metric-card i {
    font-size: 24px;
  }
  
  .metric-card strong {
    font-size: 20px;
  }
  
  .metric-card p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .about-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .metric-card {
    padding: 12px 10px;
  }
  
  .metric-card i {
    font-size: 20px;
  }
  
  .metric-card strong {
    font-size: 18px;
  }
  
  .metric-card p {
    font-size: 11px;
  }
}

/* ══════════════════════════════════════════════════════════════
   HERO STAT PILLS RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero-stat-pills {
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .hero-stat-pill {
    padding: 8px 12px;
    font-size: 11px;
  }
  
  .hero-stat-pill i {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-stat-pills {
    gap: 6px;
  }
  
  .hero-stat-pill {
    padding: 6px 10px;
    font-size: 10px;
  }
  
  .hero-stat-pill i {
    font-size: 10px;
  }
}

/* ══════════════════════════════════════════════════════════════
   CASE STUDIES RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .cases-pills {
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .case-pill {
    padding: 8px 12px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .cases-pills {
    gap: 6px;
  }
  
  .case-pill {
    padding: 6px 10px;
    font-size: 9px;
  }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .ft-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .ft-brand {
    text-align: center;
  }
  
  .ft-brand p {
    font-size: 12px;
  }
  
  .ft-phone {
    justify-self: center;
    text-align: center;
  }
  
  .ft-social-block {
    justify-self: center;
    text-align: center;
  }
  
  .ft-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .ft-top {
    gap: 16px;
  }
  
  .ft-brand p {
    font-size: 11px;
  }
  
  .ft-phone-label {
    font-size: 11px;
  }
  
  .ft-phone a {
    font-size: 13px;
  }
  
  .ft-social-label {
    font-size: 11px;
  }
  
  .footer-social a {
    font-size: 16px;
  }
  
  .ft-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .footer-col h4 {
    font-size: 12px;
  }
  
  .footer-col a {
    font-size: 11px;
  }
  
  .footer-bottom {
    padding: 16px 0;
  }
  
  .footer-bottom p {
    font-size: 10px;
  }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL HINT RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .scroll-hint {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .scroll-hint {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .topbar {
    padding: 12px 16px;
  }
  
  .logo {
    width: 32px;
    height: 32px;
  }
  
  .nav-link {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 10px 12px;
  }
  
  .logo {
    width: 28px;
    height: 28px;
  }
  
  .nav-link {
    font-size: 12px;
  }
}


/* ══════════════════════════════════════════════════════════════
   ADDITIONAL RESPONSIVE FIXES FOR EDGE CASES
   ══════════════════════════════════════════════════════════════ */

/* ── Fix inline styles on mobile ──────────────────────────── */
@media (max-width: 920px) {
  .hero[style*="padding-left"],
  .hero[style*="padding-right"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .container[style*="padding-left"],
  .container[style*="padding-right"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 480px) {
  .container[style*="padding-left"],
  .container[style*="padding-right"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ── Hero accent line responsive ──────────────────────────── */
@media (max-width: 768px) {
  .hero-accent-line {
    width: 60px;
    height: 3px;
  }
}

@media (max-width: 480px) {
  .hero-accent-line {
    width: 40px;
    height: 2px;
  }
}

/* ── Service card highlights responsive ──────────────────── */
@media (max-width: 768px) {
  .svc-highlights {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .svc-highlight-item {
    font-size: 12px;
  }
  
  .svc-highlight-item i {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .svc-highlights {
    gap: 6px;
  }
  
  .svc-highlight-item {
    font-size: 11px;
  }
  
  .svc-highlight-item i {
    font-size: 12px;
  }
}

/* ── Service tech strip responsive ──────────────────────── */
@media (max-width: 768px) {
  .svc-tech-strip {
    flex-direction: column;
    gap: 8px;
  }
  
  .svc-tech-icons {
    gap: 6px;
    flex-wrap: wrap;
  }
  
  .svc-tech-badge {
    padding: 4px 8px;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .svc-tech-badge {
    padding: 3px 6px;
    font-size: 9px;
  }
}

/* ── Service mini process responsive ──────────────────────── */
@media (max-width: 768px) {
  .svc-mini-process {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .svc-mp-step {
    font-size: 11px;
  }
  
  .svc-mp-dot {
    width: 8px;
    height: 8px;
  }
  
  .svc-mp-line {
    display: none;
  }
}

@media (max-width: 480px) {
  .svc-mp-step {
    font-size: 10px;
  }
  
  .svc-mp-dot {
    width: 6px;
    height: 6px;
  }
}

/* ── UI/UX showcase responsive ──────────────────────────── */
@media (max-width: 768px) {
  .uiux-preview {
    height: 120px;
    margin-bottom: 16px;
  }
  
  .uiux-img {
    max-width: 100px;
  }
  
  .uiux-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .uiux-metric strong {
    font-size: 16px;
  }
  
  .uiux-metric span {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .uiux-preview {
    height: 100px;
  }
  
  .uiux-img {
    max-width: 80px;
  }
  
  .uiux-metric strong {
    font-size: 14px;
  }
  
  .uiux-metric span {
    font-size: 10px;
  }
}

/* ── Service tags responsive ──────────────────────────── */
@media (max-width: 768px) {
  .svc-tags2 {
    gap: 6px;
  }
  
  .svc-tags2 li {
    padding: 4px 8px;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .svc-tags2 {
    gap: 4px;
  }
  
  .svc-tags2 li {
    padding: 3px 6px;
    font-size: 9px;
  }
}

/* ── Service number badge responsive ──────────────────────── */
@media (max-width: 768px) {
  .svc-num {
    font-size: 10px;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .svc-num {
    font-size: 9px;
    padding: 3px 6px;
  }
}

/* ── Service icon responsive ──────────────────────────── */
@media (max-width: 768px) {
  .svc-icon2 {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .svc-icon2 {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

/* ── Service corner icon responsive ──────────────────────── */
@media (max-width: 768px) {
  .svc-corner-icon {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .svc-corner-icon {
    font-size: 16px;
  }
}

/* ── Case study navigation responsive ──────────────────────── */
@media (max-width: 768px) {
  .cases-nav {
    flex-direction: column;
    gap: 12px;
  }
  
  .case-arr {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .case-arr {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

/* ── Partner card responsive ──────────────────────────── */
@media (max-width: 768px) {
  .partner-card span {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .partner-card span {
    font-size: 10px;
  }
}

/* ── Marquee responsive ──────────────────────────── */
@media (max-width: 768px) {
  .marquee-track {
    animation-duration: 25s;
  }
}

@media (max-width: 480px) {
  .marquee-track {
    animation-duration: 20s;
  }
}

/* ── Tech panels responsive ──────────────────────────── */
@media (max-width: 768px) {
  .tech-panels {
    padding: 16px 0;
  }
  
  .tech-panel {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .tech-panels {
    padding: 12px 0;
  }
  
  .tech-panel {
    gap: 8px;
  }
}

/* ── Stats icon responsive ──────────────────────────── */
@media (max-width: 768px) {
  .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* ── Testimonial stars responsive ──────────────────────────── */
@media (max-width: 768px) {
  .test-stars {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .test-stars {
    font-size: 12px;
  }
}

/* ── Testimonial author responsive ──────────────────────────── */
@media (max-width: 768px) {
  .test-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .test-author strong {
    font-size: 13px;
  }
  
  .test-author span {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .test-avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .test-author strong {
    font-size: 12px;
  }
  
  .test-author span {
    font-size: 10px;
  }
}

/* ── Why list responsive ──────────────────────────── */
@media (max-width: 768px) {
  .why-list {
    gap: 12px;
  }
  
  .why-item {
    font-size: 13px;
  }
  
  .why-item i {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .why-list {
    gap: 10px;
  }
  
  .why-item {
    font-size: 12px;
  }
  
  .why-item i {
    font-size: 14px;
  }
}

/* ── Glow card icon responsive ──────────────────────────── */
@media (max-width: 768px) {
  .glow-card i {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .glow-card i {
    font-size: 20px;
  }
}

/* ── Kicker responsive ──────────────────────────── */
@media (max-width: 768px) {
  .kicker {
    font-size: 11px;
    padding: 4px 10px;
  }
}

@media (max-width: 480px) {
  .kicker {
    font-size: 10px;
    padding: 3px 8px;
  }
}

/* ── Section heading responsive ──────────────────────────── */
@media (max-width: 768px) {
  .sec-head {
    margin-bottom: 28px;
  }
}

@media (max-width: 480px) {
  .sec-head {
    margin-bottom: 20px;
  }
}

/* ── Link arrow responsive ──────────────────────────── */
@media (max-width: 768px) {
  .link-arrow {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .link-arrow {
    font-size: 12px;
  }
}

/* ── Footer logo responsive ──────────────────────────── */
@media (max-width: 768px) {
  .footer-logo {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    height: 60px;
  }
}

/* ── Mega menu responsive (hide on mobile) ──────────────────────────── */
@media (max-width: 920px) {
  .mega-menu {
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .mega-menu.active {
    max-height: 500px;
  }
  
  .mega-col {
    padding: 12px 16px;
  }
  
  .mega-col h4 {
    font-size: 13px;
  }
  
  .mega-link {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* ── Splash screen responsive ──────────────────────────── */
@media (max-width: 768px) {
  .splash-logo {
    width: 70px;
  }
  
  .splash-text {
    font-size: 28px;
  }
  
  .splash-tagline {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .splash-logo {
    width: 60px;
  }
  
  .splash-text {
    font-size: 24px;
  }
  
  .splash-tagline {
    font-size: 11px;
  }
}

/* ══════════════════════════════════════════════════════════════
   LANDSCAPE ORIENTATION FIXES
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 920px) and (orientation: landscape) {
  .hero-wrap {
    padding: 60px 16px 30px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: clamp(24px, 5vw, 32px);
  }
  
  .hero h1 .typed-line-small {
    font-size: clamp(18px, 4vw, 28px);
  }
  
  .subtitle {
    margin-bottom: 24px;
  }
  
  .cta-row {
    margin-top: 24px;
    margin-bottom: 20px;
  }
}

/* ══════════════════════════════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════════════════════════════ */

@media print {
  .splash,
  .topbar,
  .menu-toggle,
  .hero-visual,
  .scroll-hint,
  .cta-primary,
  .cta-secondary,
  .footer-social {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  .hero-wrap {
    padding: 20px 0;
  }
  
  .sec {
    padding: 20px 0;
    page-break-inside: avoid;
  }
}


/* ══════════════════════════════════════════════════════════════
   CRITICAL MOBILE LAYOUT FIXES
   ══════════════════════════════════════════════════════════════ */

/* Force hero to full width on mobile */
@media (max-width: 920px) {
  .hero-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
  
  .hero {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 !important;
  }
  
  .hero-visual {
    display: none !important;
    width: 0 !important;
  }
}

/* Ensure buttons stack properly on mobile */
@media (max-width: 600px) {
  .cta-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .cta-primary,
  .cta-secondary {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* Fix text overflow issues */
@media (max-width: 768px) {
  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Ensure images are responsive */
@media (max-width: 920px) {
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Fix grid layouts on mobile */
@media (max-width: 768px) {
  .about-grid,
  .why-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
}

/* Ensure proper spacing on all sections */
@media (max-width: 480px) {
  .sec {
    padding: 32px 0 !important;
  }
  
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Fix case study card body */
@media (max-width: 768px) {
  .case-body {
    padding: 12px;
  }
  
  .case-body h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .case-body p {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Fix partner grid on very small screens */
@media (max-width: 360px) {
  .partner-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  
  .partner-card {
    padding: 16px 12px !important;
  }
}

/* Ensure footer stacks properly */
@media (max-width: 600px) {
  .ft-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .ft-brand,
  .ft-phone,
  .ft-social-block {
    width: 100% !important;
    text-align: center !important;
    justify-self: center !important;
  }
  
  .ft-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .footer-col {
    text-align: center !important;
  }
}

/* Fix tech tabs wrapping */
@media (max-width: 600px) {
  .tech-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  
  .tech-tab {
    flex: 0 0 auto !important;
    min-width: 80px !important;
  }
}

/* Fix tech chips layout */
@media (max-width: 600px) {
  .tech-panel {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  
  .tech-chip {
    flex: 0 0 calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
  }
}

@media (max-width: 360px) {
  .tech-chip {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Fix stats row on very small screens */
@media (max-width: 360px) {
  .stats-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* Fix testimonials on very small screens */
@media (max-width: 360px) {
  .testimonials-track {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* Fix FAQ on mobile */
@media (max-width: 600px) {
  .faq-list {
    width: 100%;
  }
  
  .faq-item {
    width: 100%;
  }
  
  .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }
}

/* Ensure proper line heights on mobile */
@media (max-width: 768px) {
  body {
    line-height: 1.5;
  }
  
  h1 {
    line-height: 1.2;
  }
  
  h2 {
    line-height: 1.3;
  }
  
  h3, h4, h5, h6 {
    line-height: 1.4;
  }
}

/* Fix button sizes on very small screens */
@media (max-width: 360px) {
  .cta-primary,
  .cta-secondary {
    padding: 10px 16px !important;
    font-size: 12px !important;
  }
}

/* Ensure proper touch targets on mobile */
@media (max-width: 768px) {
  a,
  button,
  .nav-link,
  .mega-link,
  .tech-tab,
  .case-pill {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Fix overflow issues */
@media (max-width: 920px) {
  body {
    overflow-x: hidden;
  }
  
  .hero-wrap,
  .sec,
  .container {
    overflow-x: hidden;
  }
}

/* Ensure proper z-index stacking */
@media (max-width: 920px) {
  .topbar {
    z-index: 1000;
  }
  
  .mega-menu {
    z-index: 999;
  }
  
  .splash {
    z-index: 9999;
  }
}
