/* ============================================
   Career Tripod - Responsive CSS
   Complete Responsive System
   ============================================ */

/* --- Scroll offset for fixed navbar --- */
[id] {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

/* ============================================
   TABLETS (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .countries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { gap: 40px; }
  .about-values { grid-template-columns: repeat(2, 1fr); }

  /* Hero V2 */
  .hero-v2-title { font-size: 2.8rem; }
  .hero-v2-inner { gap: 40px; }
  .hero-v2-visual { width: 380px; height: 380px; }
  .hero-v2-center-visual { width: 220px; height: 220px; }
  .hero-v2-glow-ring { width: 290px; height: 290px; }

  /* Deemed Section - Tablet */
  .deemed-section { padding: 80px 0 60px; }
  .deemed-title { font-size: 2.4rem; }
  .deemed-slide { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .d-card-top { height: 150px; }
  .d-card-bot { padding: 14px 14px 16px; }
  .d-card-bot h4 { font-size: 0.82rem; }
  .d-card-bot p { font-size: 0.72rem; }
  .d-rank { font-size: 0.68rem; padding: 4px 10px; }
  .deemed-arrow { width: 46px; height: 46px; }
  .deemed-progress { width: 160px; }

  /* About Hero */
  .about-hero .hero-v2-title { font-size: 2.6rem; }

  /* Timeline */
  .timeline-content { padding: 24px; }

  /* Testimonials */
  .testimonial-inner { padding: 40px; }

  /* CTA */
  .cta-section { padding: 80px 0; }
}

/* ============================================
   MOBILE LANDSCAPE / SMALL TABLETS (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  .section { padding: 70px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 2.1rem; }
  .section-header p { font-size: 1rem; }

  /* ---- Nav ---- */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 24px 40px;
    box-shadow: -4px 0 30px rgba(0,0,0,0.12);
    transition: var(--transition);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
  }

  .nav-links.open { right: 0; }
  .nav-links a { color: var(--dark-gray) !important; padding: 14px 16px; font-size: 1rem; border-radius: 10px; min-height: 48px; display: flex; align-items: center; }
  .nav-links a:hover, .nav-links a.active { background: rgba(10,102,194,0.06); color: var(--primary) !important; }

  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--light-gray);
  }
  .nav-links .nav-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
    min-height: 48px;
  }

  .nav-toggle { display: flex; }

  .nav-brand { min-width: auto; gap: 10px; }
  .nav-brand-icon { width: 48px; height: 48px; }
  .nav-brand-text h1 { font-size: 1rem; }
  .nav-brand-text span { font-size: 0.55rem; letter-spacing: 1px; }

  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: var(--transition); }
  .nav-overlay.active { opacity: 1; visibility: visible; }

  /* ---- Hero V2 ---- */
  .hero-v2 { min-height: auto; padding: 130px 0 60px; }
  .hero-v2-title { font-size: 2.6rem; }
  .hero-v2-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-v2-right { order: -1; }
  .hero-v2-visual { width: 340px; height: 340px; margin: 0 auto; }
  .hero-v2-center-visual { width: 160px; height: 160px; }
  .hero-v2-glow-ring { width: 220px; height: 220px; }
  .hero-v2-card-main { min-width: 220px; padding: 14px 18px; }
  .hero-v2-card-stat { padding: 10px 14px; }
  .hero-v2-card-stat-num { font-size: 1rem; }
  .hero-v2-stats-bar { padding: 24px 24px; }
  .hero-v2-stat-item { padding: 0 20px; }
  .hero-v2-stat-number { font-size: 1.8rem; }

  /* Hero Trust */
  .hero-v2-trust { padding: 14px 16px; gap: 12px; flex-wrap: wrap; justify-content: center; }
  .hero-v2-trust-avatar { width: 36px; height: 36px; font-size: 0.8rem; }
  .hero-v2-trust-text { font-size: 0.82rem; text-align: center; }
  .hero-v2-trust-stars { font-size: 0.78rem; }

  /* Hero actions */
  .hero-v2-actions { gap: 12px; }
  .btn-v2 { padding: 14px 28px; font-size: 0.9rem; }

  /* ---- About Hero ---- */
  .about-hero { min-height: auto; padding: 130px 0 60px; }
  .about-hero .hero-v2-title { font-size: 2.4rem; }
  .about-hero .hero-v2-stats-bar { padding: 20px 16px; }
  .about-hero .hero-v2-stat-item { padding: 0 16px; }

  /* ---- Services ---- */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-card { padding: 28px 20px; }
  .service-icon { width: 64px; height: 64px; font-size: 1.7rem; margin-bottom: 16px; }

  /* ---- Countries ---- */
  .countries-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* ---- Timeline ---- */
  .timeline::before { left: 24px; }
  .timeline-item { width: 100%; padding-left: 68px; padding-right: 16px; text-align: left; }
  .timeline-item:nth-child(odd) { text-align: left; }
  .timeline-item:nth-child(even) { left: 0; }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot { left: 0; right: auto; }
  .timeline-content { padding: 22px; }
  .timeline-content h3 { font-size: 1rem; }
  .timeline-content p { font-size: 0.85rem; }

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

  /* Deemed Section - Mobile Landscape */
  .deemed-section { padding: 70px 0 50px; }
  .deemed-title { font-size: 2rem; }
  .deemed-subtitle { font-size: 0.95rem; }
  .deemed-slide { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .d-card-top { height: 140px; }
  .d-card-bot { padding: 12px; }
  .d-card-bot h4 { font-size: 0.78rem; }
  .d-card-bot p { font-size: 0.68rem; }
  .d-card-desc { font-size: 0.66rem; -webkit-line-clamp: 2; margin-top: 6px; padding-top: 6px; }
  .d-rank { font-size: 0.64rem; padding: 3px 8px; }
  .deemed-arrow { width: 42px; height: 42px; }
  .deemed-arrow svg { width: 18px; height: 18px; }
  .deemed-progress { width: 140px; }
  .deemed-counter { font-size: 0.8rem; }
  .why-card { padding: 28px 20px; }
  .why-icon { width: 58px; height: 58px; font-size: 1.5rem; margin-bottom: 14px; }

  /* ---- About Grid ---- */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-features { grid-template-columns: 1fr; }
  .about-page-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-values { grid-template-columns: 1fr; }
  .about-image-wrapper img { height: 350px; }
  .about-page-img img { height: 350px; }
  .about-text h2, .about-page-text h2 { font-size: 2rem; }

  /* ---- Testimonials ---- */
  .testimonial-card { padding: 0 30px; }
  .testimonial-inner { padding: 36px 28px; }
  .testimonial-inner::before { font-size: 3.5rem; top: 8px; left: 20px; }
  .testimonial-text { font-size: 0.95rem; }
  .testimonial-stars { font-size: 1rem; margin-bottom: 14px; }
  .testimonial-avatar { width: 56px; height: 56px; }
  .testimonials-controls { margin-top: 28px; }
  .testimonials-controls button { width: 46px; height: 46px; font-size: 1rem; }

  /* ---- FAQ ---- */
  .faq-list { max-width: 100%; }
  .faq-item { margin-bottom: 10px; }
  .faq-question { padding: 16px 20px; font-size: 0.92rem; gap: 12px; }
  .faq-icon { width: 30px; height: 30px; font-size: 1.1rem; }
  .faq-answer-inner { padding: 0 20px 16px; font-size: 0.88rem; }

  /* ---- CTA ---- */
  .cta-section { padding: 70px 0; }
  .cta-content h2 { font-size: 1.7rem; }
  .cta-content p { font-size: 1rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; min-height: 48px; }

  /* ---- Contact Form ---- */
  #contactForm [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Contact form card - target the wrapper div */
  #contact-section > .container > .about-grid > .reveal-left {
    padding: 28px 20px !important;
  }

  /* Contact offices */
  #contact-section .reveal-right { gap: 12px !important; }
  #contact-section .reveal-right > div { padding: 16px !important; }

  /* ---- Footer ---- */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-office { padding: 10px 12px; }
  .footer-office p { font-size: 0.75rem; }
  .footer-col h3 { font-size: 0.95rem; margin-bottom: 16px; }
  .footer-col ul li a { font-size: 0.85rem; padding: 6px 0; }
  .footer-contact-item { font-size: 0.85rem; }

  /* ---- Back to Top ---- */
  .back-to-top-btn { bottom: 24px; right: 24px; width: 46px; height: 46px; }

  /* ---- Touch-friendly minimum sizes ---- */
  .btn, .btn-v2, a.btn-gold { min-height: 44px; }
  .faq-question { min-height: 48px; }
}

/* ============================================
   MOBILE PORTRAIT (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.7rem; }
  .section-header p { font-size: 0.95rem; }
  .section-badge { font-size: 0.72rem; padding: 6px 16px; letter-spacing: 1.5px; }

  /* Hero V2 */
  .hero-v2 { padding: 110px 0 40px; }
  .hero-v2-title { font-size: 1.8rem; margin-bottom: 20px; }
  .hero-v2-badge { font-size: 0.72rem; padding: 8px 14px; margin-bottom: 20px; }
  .hero-v2-desc { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-v2-actions { flex-direction: column; }
  .hero-v2-actions .btn-v2 { width: 100%; justify-content: center; }
  .hero-v2-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-v2-right { order: -1; }
  .hero-v2-visual { width: 280px; height: 280px; margin: 0 auto; }
  .hero-v2-center-visual { width: 130px; height: 130px; }
  .hero-v2-glow-ring { width: 190px; height: 190px; }
  .hero-v2-card-main { min-width: 180px; top: 0; left: 0; padding: 10px 14px; gap: 10px; }
  .hero-v2-card-icon { width: 40px; height: 40px; }
  .hero-v2-card-icon svg { width: 28px; height: 28px; }
  .hero-v2-card-label { font-size: 0.65rem; }
  .hero-v2-card-value { font-size: 0.95rem; }
  .hero-v2-card-badge { padding: 3px 8px; font-size: 0.6rem; }
  .hero-v2-card-stat { padding: 8px 12px; gap: 8px; border-radius: 12px; }
  .hero-v2-card-stat-icon { font-size: 1.2rem; }
  .hero-v2-card-stat-num { font-size: 0.9rem; }
  .hero-v2-card-stat-label { font-size: 0.65rem; }
  .hero-v2-card-stat-1 { bottom: 30%; right: 0; }
  .hero-v2-card-stat-2 { bottom: 5%; left: 0; }

  /* Hero Stats Bar */
  .hero-v2-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px; border-radius: 16px; }
  .hero-v2-stat-divider { display: none; }
  .hero-v2-stat-item { padding: 0; }
  .hero-v2-stat-number { font-size: 1.5rem; }
  .hero-v2-stat-label { font-size: 0.72rem; }

  /* Hero Trust */
  .hero-v2-trust { padding: 12px 14px; gap: 10px; border-radius: 12px; }
  .hero-v2-trust-avatars { gap: 0; }
  .hero-v2-trust-avatar { width: 32px; height: 32px; font-size: 0.7rem; margin-left: -8px; border-width: 2px; }
  .hero-v2-trust-more { font-size: 0.6rem; }
  .hero-v2-trust-text { font-size: 0.78rem; }

  /* About Hero Mobile */
  .about-hero { padding: 110px 0 40px; }
  .about-hero .hero-v2-title { font-size: 1.8rem; }
  .about-hero .hero-v2-desc { font-size: 0.92rem; }
  .about-hero .hero-v2-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px; }
  .about-hero .hero-v2-stat-divider { display: none; }
  .about-hero .hero-v2-stat-item { padding: 0; }
  .about-hero .hero-v2-stat-number { font-size: 1.5rem; }
  .about-hero .hero-v2-stat-label { font-size: 0.72rem; }
  .about-hero .hero-v2-actions .btn-v2 { width: 100%; justify-content: center; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px 18px; text-align: center; }
  .service-icon { width: 56px; height: 56px; font-size: 1.5rem; margin-bottom: 14px; }
  .service-card h3 { font-size: 0.98rem; margin-bottom: 8px; }
  .service-card p { font-size: 0.85rem; }

  /* Countries */
  .countries-grid { grid-template-columns: 1fr; }
  .country-card-img { height: 160px; }
  .country-card-body { padding: 16px; }
  .country-card-body h3 { font-size: 1.05rem; }

  /* Why Grid */
  .why-grid { grid-template-columns: 1fr; }

  /* Deemed Section - Mobile Portrait */
  .deemed-section { padding: 60px 0 40px; }
  .deemed-header { margin-bottom: 36px; }
  .deemed-title { font-size: 1.6rem; }
  .deemed-badge { font-size: 0.72rem; padding: 8px 18px; }
  .deemed-subtitle { font-size: 0.88rem; }
  .deemed-slide { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .d-card { border-radius: 14px; }
  .d-card-top { height: 110px; }
  .d-card-bot { padding: 10px 12px; }
  .d-card-bot h4 { font-size: 0.76rem; -webkit-line-clamp: 2; margin-bottom: 2px; }
  .d-card-bot p { font-size: 0.66rem; }
  .d-card-desc { font-size: 0.62rem; -webkit-line-clamp: 2; margin-top: 4px; padding-top: 4px; }
  .d-rank { font-size: 0.6rem; padding: 3px 7px; }
  .deemed-arrow { width: 38px; height: 38px; }
  .deemed-arrow svg { width: 16px; height: 16px; }
  .deemed-stage { gap: 12px; }
  .deemed-progress { width: 120px; }
  .deemed-footer { gap: 12px; }
  .deemed-counter { font-size: 0.75rem; }
  .why-card { padding: 24px 18px; text-align: center; }
  .why-card h3 { font-size: 1rem; }
  .why-card p { font-size: 0.85rem; }

  /* Testimonials */
  .testimonial-card { padding: 0 12px; }
  .testimonial-inner { padding: 28px 18px; border-radius: 20px; }
  .testimonial-inner::before { font-size: 3rem; left: 16px; top: 6px; }
  .testimonial-text { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
  .testimonial-name { font-size: 1rem; }
  .testimonial-college { font-size: 0.8rem; }
  .testimonial-avatar { width: 52px; height: 52px; margin-bottom: 14px; }
  .testimonials-controls { margin-top: 24px; gap: 12px; }
  .testimonials-controls button { width: 42px; height: 42px; font-size: 0.95rem; }
  .testimonials-dots { margin-top: 16px; }

  /* FAQ */
  .faq-item { border-radius: 12px; margin-bottom: 8px; }
  .faq-question { padding: 14px 16px; font-size: 0.88rem; gap: 10px; }
  .faq-icon { width: 28px; height: 28px; font-size: 1rem; border-radius: 50%; }
  .faq-answer-inner { padding: 0 16px 14px; font-size: 0.85rem; line-height: 1.65; }

  /* About page */
  .about-text h2, .about-page-text h2 { font-size: 1.7rem; }
  .about-text p, .about-page-text p { font-size: 0.92rem; }
  .about-image-wrapper img { height: 280px; }
  .about-page-img img { height: 260px; }
  .about-feature { padding: 10px 14px; gap: 10px; }
  .about-feature .icon { width: 32px; height: 32px; font-size: 0.9rem; }
  .about-feature span { font-size: 0.85rem; }

  /* CTA */
  .cta-section { padding: 56px 0; }
  .cta-content h2 { font-size: 1.5rem; margin-bottom: 12px; }
  .cta-content p { font-size: 0.92rem; margin-bottom: 28px; }

  /* Buttons */
  .btn { padding: 12px 24px; font-size: 0.88rem; min-height: 44px; }
  .btn-v2 { padding: 13px 24px; font-size: 0.88rem; min-height: 44px; }

  /* Nav */
  .nav-brand-icon { width: 44px; height: 44px; }
  .nav-brand-text h1 { font-size: 0.92rem; }
  .nav-brand-text span { font-size: 0.5rem; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-grid { gap: 24px; padding-bottom: 32px; }
  .footer-brand h2 { font-size: 1.2rem; }
  .footer-brand p { font-size: 0.82rem; line-height: 1.6; }
  .footer-col h3 { font-size: 0.9rem; margin-bottom: 14px; }
  .footer-col ul li { margin-bottom: 6px; }
  .footer-col ul li a { font-size: 0.82rem; padding: 4px 0; }
  .footer-office { padding: 10px 12px; margin-bottom: 10px; }
  .footer-office-name { font-size: 0.8rem; }
  .footer-office p { font-size: 0.72rem; line-height: 1.4; }
  .footer-office-badge { font-size: 0.55rem; padding: 2px 8px; }
  .footer-contact-item { font-size: 0.82rem; margin-bottom: 10px; }
  .footer-bottom { padding: 16px 0; }
  .footer-bottom p { font-size: 0.75rem; }

  /* Back to Top */
  .back-to-top-btn { bottom: 20px; right: 20px; width: 42px; height: 42px; }
  .back-to-top-btn svg { width: 18px; height: 18px; }

  /* Page Hero fallback */
  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: 2rem; }
}

/* ============================================
   SMALL PHONES (max-width: 360px)
   ============================================ */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.88rem; }

  .hero-v2 { padding: 100px 0 32px; }
  .hero-v2-title { font-size: 1.5rem; margin-bottom: 16px; }
  .hero-v2-badge { font-size: 0.68rem; padding: 7px 12px; }
  .hero-v2-desc { font-size: 0.88rem; margin-bottom: 24px; }
  .hero-v2-visual { width: 240px; height: 240px; }
  .hero-v2-center-visual { width: 110px; height: 110px; border-width: 3px; }
  .hero-v2-glow-ring { width: 160px; height: 160px; }
  .hero-v2-card-main { min-width: 160px; padding: 8px 12px; gap: 8px; border-radius: 14px; }
  .hero-v2-card-icon { width: 36px; height: 36px; border-radius: 10px; }
  .hero-v2-card-icon svg { width: 24px; height: 24px; }
  .hero-v2-card-label { font-size: 0.6rem; }
  .hero-v2-card-value { font-size: 0.88rem; }
  .hero-v2-card-badge { font-size: 0.55rem; padding: 2px 6px; }
  .hero-v2-card-stat { padding: 7px 10px; border-radius: 10px; }
  .hero-v2-card-stat-icon { font-size: 1.1rem; }
  .hero-v2-card-stat-num { font-size: 0.82rem; }
  .hero-v2-card-stat-label { font-size: 0.6rem; }
  .hero-v2-stat-number { font-size: 1.3rem; }

  .about-hero .hero-v2-title { font-size: 1.5rem; }
  .about-hero .hero-v2-stat-number { font-size: 1.3rem; }

  .nav-links { width: 92%; max-width: none; }
  .nav-links a { padding: 12px 14px; font-size: 0.92rem; }
  .nav-brand-icon { width: 40px; height: 40px; }
  .nav-brand-text h1 { font-size: 0.85rem; }
  .nav-brand-text span { font-size: 0.45rem; }

  .testimonial-inner { padding: 24px 16px; }
  .testimonial-text { font-size: 0.85rem; }

  .faq-question { padding: 12px 14px; font-size: 0.85rem; }
  .faq-answer-inner { padding: 0 14px 12px; font-size: 0.82rem; }
  .faq-icon { width: 26px; height: 26px; font-size: 0.95rem; }

  .btn { padding: 11px 20px; font-size: 0.85rem; }
  .btn-v2 { padding: 12px 20px; font-size: 0.85rem; }

  .why-card { padding: 20px 16px; }
  .why-icon { width: 52px; height: 52px; font-size: 1.4rem; }
  .service-card { padding: 20px 16px; }

  /* Deemed Section - Extra Small */
  .deemed-section { padding: 48px 0 32px; }
  .deemed-title { font-size: 1.4rem; }
  .deemed-badge { font-size: 0.68rem; padding: 7px 14px; }
  .deemed-subtitle { font-size: 0.82rem; }
  .deemed-slide { gap: 8px; }
  .d-card-top { height: 90px; }
  .d-card-bot { padding: 8px 10px; }
  .d-card-bot h4 { font-size: 0.72rem; }
  .d-card-bot p { font-size: 0.62rem; }
  .d-card-desc { font-size: 0.58rem; -webkit-line-clamp: 1; margin-top: 3px; padding-top: 3px; }
  .d-rank { font-size: 0.56rem; padding: 2px 6px; }
  .deemed-arrow { width: 34px; height: 34px; }
  .deemed-arrow svg { width: 14px; height: 14px; }
  .deemed-progress { width: 100px; }
  .deemed-footer { gap: 10px; }
  .deemed-counter { font-size: 0.7rem; }
}

/* ============================================
   DEEMED SECTION - ENHANCED RESPONSIVE
   ============================================ */

/* Smooth carousel on all devices */
.deemed-track {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Hide arrows on smaller devices, use swipe */
@media (max-width: 480px) {
  .deemed-arrow {
    width: 36px;
    height: 36px;
  }
  .deemed-stage {
    gap: 8px;
  }
}

/* ============================================
   FOOTER PRESENCE
   ============================================ */
.footer-presence {
  margin: 16px 0;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

.footer-presence h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.footer-presence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.presence-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(15,169,88,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(15,169,88,0.2);
  transition: all 0.3s ease;
}

.presence-tag:hover {
  background: rgba(15,169,88,0.2);
  border-color: rgba(15,169,88,0.4);
  transform: translateY(-2px);
}

.footer-presence-text {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.4) !important;
  line-height: 1.5;
  margin-top: 6px;
}

@media (max-width: 480px) {
  .presence-tag { font-size: 0.7rem; padding: 4px 12px; }
  .footer-presence { padding: 12px; }
  .footer-presence h4 { font-size: 0.78rem; }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover effects on touch devices */
  .service-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .country-card:hover { transform: none; box-shadow: var(--shadow-md); }
  .why-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .value-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .timeline-content:hover { transform: none; box-shadow: var(--shadow-sm); }
  .btn:hover { transform: none; }
  .btn-v2:hover { transform: none; }

  /* Larger touch targets */
  .nav-links a { min-height: 48px; }
  .faq-question { min-height: 52px; }
  .testimonials-controls button { width: 50px; height: 50px; }
  .back-to-top-btn { width: 50px; height: 50px; }
  .deemed-arrow { width: 44px; height: 44px; }
  .deemed-cell:hover .d-card { transform: none; box-shadow: none; border-color: rgba(255,255,255,0.1); }
  .deemed-cell:hover .d-glow { opacity: 0; }
}

/* ============================================
   LANDSCAPE PHONE
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-v2 { min-height: auto; padding: 100px 0 40px; }
  .hero-v2-visual { width: 220px; height: 220px; }
  .hero-v2-center-visual { width: 100px; height: 100px; }
  .hero-v2-glow-ring { width: 150px; height: 150px; }
  .hero-v2-card-main { display: none; }
  .hero-v2-card-stat { display: none; }
  .about-hero { min-height: auto; padding: 100px 0 40px; }
  .loading-screen { padding: 20px; }
  .loader-video { width: 120px; height: 120px; }
}

/* ============================================
   HIGH RESOLUTION / RETINA
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-v2-center-visual { border-width: 3px; }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar, .scroll-progress, .loading-screen, .nav-overlay,
  .back-to-top-btn, .hero-particles, .hero-v2-grid-overlay,
  .hero-v2-bg, .cta-section, .footer, .deemed-section { display: none !important; }
  .hero-v2 { min-height: auto; padding: 20px 0; background: #fff; }
  .hero-v2-title, .hero-v2-desc, .hero-v2-trust-text,
  .hero-v2-trust-text strong { color: #000 !important; -webkit-text-fill-color: #000 !important; }
  body { overflow: visible; }
  .section { padding: 20px 0; }
  .container { max-width: 100%; padding: 0 10px; }
}
