/* ================================================================
   JACK N JILL SOLUTIONS — COMPREHENSIVE MOBILE RESPONSIVE CSS
   Place in: static/css/mobile.css
   Already linked in header.html
   ================================================================ */

/* ===== GLOBAL MOBILE RESET ===== */
@media (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  img, video, iframe, canvas {
    max-width: 100% !important;
    height: auto;
  }

  section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
  }

  br {
    display: none;
  }
}

/* ================================================================
   HEADER / NAVBAR — MOBILE
   ================================================================ */
@media (max-width: 768px) {

  .wipro-navbar {
    padding: 8px 0;
  }

  .wipro-navbar .container {
    padding: 0 12px;
  }

  .wipro-navbar .navbar-brand {
    font-size: 14px;
  }

  .wipro-navbar .navbar-brand img {
    width: 45px;
    height: 38px;
  }

  /* Hamburger icon */
  .navbar-toggler {
    font-size: 22px;
    padding: 4px 8px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.8);
    z-index: 1002;
  }

  /* Mobile dropdown menu */
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 16px 16px;
    padding: 16px 20px;
    margin-top: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  }

  .wipro-menu .nav-link {
    padding: 12px 0 !important;
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .wipro-menu .nav-link:last-child {
    border-bottom: none;
  }

  .wipro-menu .nav-link::after {
    display: none;
  }

  /* Top info bar */
  .wrap {
    height: 32px;
    font-size: 11px;
  }

  /* Fix gclass / sclass brand text */
  .navbar-brand .sclass {
    display: none;
  }
}

@media (max-width: 480px) {
  .wipro-navbar .navbar-brand {
    font-size: 12px;
  }

  .wipro-navbar .navbar-brand img {
    width: 38px;
    height: 32px;
  }
}


/* ================================================================
   FOOTER — MOBILE
   ================================================================ */
@media (max-width: 768px) {

  .jnj-footer {
    padding: 40px 0 20px;
    text-align: center;
  }

  .jnj-footer .row > div {
    margin-bottom: 30px;
  }

  .jnj-footer .row {
    flex-direction: column;
    align-items: center;
  }

  .footer-desc {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-title {
    font-size: 18px;
  }

  .footer-social {
    margin-top: 10px;
  }

  .footer-logo {
    height: 42px;
    margin: 0 auto;
  }
}


/* ================================================================
   INDEX.HTML — HERO VIDEO SECTION
   ================================================================ */
@media (max-width: 768px) {

  .hero-wipro {
    height: 100vh;
    height: 100dvh; /* dynamic viewport for mobile browsers */
    min-height: 500px;
    padding: 0;
  }

  /* VIDEO — Full cover on mobile */
  .hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    min-width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
  }

  .hero-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 20px;
    text-align: center;
  }

  .hero-logo {
    max-width: 90px;
    margin-bottom: 12px;
  }

  .hero-animate {
    font-size: 22px !important;
    line-height: 1.3;
  }

  .hero-company {
    font-size: 15px !important;
  }

  .hero-motto {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-cta {
    margin-top: 14px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-animate {
    font-size: 18px !important;
  }

  .hero-company {
    font-size: 13px !important;
  }

  .hero-motto {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
}


/* ================================================================
   INDEX.HTML — WHO WE ARE / SWIPER SECTION
   ================================================================ */
@media (max-width: 768px) {

  .who-section {
    padding: 40px 15px !important;
    height: auto !important;
  }

  .who-title {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .who-subtitle {
    font-size: 14px;
    max-width: 100%;
    padding: 0 10px;
  }

  .who-slide {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .who-image {
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
  }

  .who-image img {
    border-radius: 12px;
    transform: none !important;
  }

  .who-content {
    max-width: 100%;
    transform: none !important;
    opacity: 1 !important;
    padding: 0 10px;
  }

  .who-content h3 {
    font-size: 22px;
  }

  .who-content p {
    font-size: 14px;
  }

  /* Swiper nav */
  .who-nav {
    margin-top: 20px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 34px !important;
    height: 34px !important;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 12px !important;
  }

  /* Hide decorative circles */
  .who-circle,
  .what-circle,
  .exp-circle,
  .faq-circle {
    display: none !important;
  }
}


/* ================================================================
   INDEX.HTML — WHAT WE DO SECTION
   ================================================================ */
@media (max-width: 768px) {

  .what-title {
    font-size: 26px;
    letter-spacing: 1px;
  }

  .what-subtitle {
    font-size: 14px;
    padding: 0 10px;
  }

  .service-row {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 12px 0;
  }

  .service-img {
    width: 65px !important;
    height: 65px !important;
    margin: 0 auto;
  }

  .service-text h3 {
    font-size: 18px;
  }

  .service-text p {
    font-size: 13px;
  }

  .services-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Blur effect disabled on mobile */
  .service-row.blurred {
    opacity: 1;
    filter: none;
  }
}


/* ================================================================
   INDEX.HTML — EXPERIENCE / SHAPE CARDS SECTION
   ================================================================ */
@media (max-width: 768px) {

  .experience-modern {
    padding: 50px 0;
  }

  .experience-left {
    text-align: center;
    padding-right: 0;
  }

  .experience-title {
    font-size: 26px;
  }

  .experience-desc {
    max-width: 100%;
    margin: 0 auto;
    font-size: 14px;
  }

  .experience-right {
    margin-top: 30px;
  }

  .shape-wrapper {
    width: 100%;
    height: auto !important;
    position: static !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transform: none !important;
  }

  .shape-card {
    position: static !important;
    width: 85% !important;
    height: auto !important;
    border-radius: 16px !important;
    padding: 18px 12px;
    text-align: center;
  }

  .shape-card strong {
    font-size: 28px;
  }

  .shape-card span {
    font-size: 13px;
  }

  .center-image {
    display: none;
  }
}


/* ================================================================
   INDEX.HTML — STICKY SECTIONS FIX
   ================================================================ */
@media (max-width: 768px) {

  .sticky-section {
    position: relative !important;
    height: auto !important;
    top: auto !important;
  }

  .page-wrapper {
    overflow: visible;
  }
}


/* ================================================================
   INDEX.HTML — FAQ SECTION
   ================================================================ */
@media (max-width: 768px) {

  .ftco-faqs .row {
    flex-direction: column-reverse;
  }

  .chatbot-wrapper {
    margin-bottom: 30px;
  }

  .chatbot-video {
    width: 100% !important;
    max-width: 280px;
    margin: 0 auto;
  }

  .chatbot-card {
    width: 95% !important;
    height: 80vh !important;
    right: 2.5% !important;
    bottom: 10px !important;
    left: auto;
  }

  .myaccordion .card-header button {
    font-size: 14px;
    padding: 10px 14px !important;
  }
}


/* ================================================================
   INDEX.HTML — COOKIE BANNER
   ================================================================ */
@media (max-width: 768px) {

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 14px 16px;
    bottom: 10px;
    width: 95%;
  }

  .cookie-left {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-icon {
    font-size: 24px;
  }

  .cookie-text h4 {
    font-size: 15px;
  }

  .cookie-text p {
    font-size: 12px;
  }

  .cookie-actions {
    justify-content: center;
    gap: 10px;
  }

  .cookie-accept,
  .cookie-decline {
    padding: 8px 16px;
    font-size: 13px;
  }
}


/* ================================================================
   ABOUT.HTML — HERO SECTION
   ================================================================ */
@media (max-width: 768px) {

  .about-hero {
    min-height: auto;
    padding: 60px 0 40px;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 100px auto 40px auto !important;
    gap: 30px;
    text-align: center;
    padding: 0 16px;
  }

  .hero-left {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .hero-title {
    font-size: 28px !important;
    line-height: 1.3;
  }

  .hero-desc {
    max-width: 100%;
    font-size: 14px;
  }

  .hero-line {
    margin: 16px auto;
  }

  .hero-stats {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero-stats h2 {
    font-size: 24px;
  }

  .hero-stats p {
    font-size: 11px;
  }

  .divider {
    height: 28px;
  }

  /* Cards section */
  .hero-right {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-card {
    width: 46% !important;
    border-radius: 14px !important;
  }

  .img-wrap {
    height: 160px !important;
  }

  .overlay-text {
    padding: 8px;
  }

  .overlay-text h4 {
    font-size: 12px !important;
  }

  .overlay-text p {
    font-size: 10px !important;
  }

  /* Decorative elements */
  .circle,
  .blur-ball {
    display: none;
  }

  /* Hero wave */
  .hero-wave svg {
    height: 40px;
  }
}

@media (max-width: 480px) {

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

  .hero-card {
    width: 75% !important;
  }

  .img-wrap {
    height: 200px !important;
  }
}


/* ================================================================
   ABOUT.HTML — LEADER CARDS / MODALS
   ================================================================ */
@media (max-width: 768px) {

  .page-content {
    padding-top: 120px;
  }

  .leader-card {
    width: 100% !important;
    max-width: 300px;
    margin: 0 auto 24px;
  }

  .leader-img-wrap img {
    height: 240px;
  }

  .leader-readbar {
    height: 45px;
  }

  .leader-readbar span,
  .read-more-btn {
    font-size: 13px;
  }

  /* Modal */
  .modal-dialog {
    margin: 10px !important;
  }

  .modal-img {
    width: 100% !important;
    max-width: 240px;
    margin: 0 auto;
    display: block;
  }

  .hcl-left,
  .hcl-right {
    padding: 16px;
    text-align: center;
  }

  .hcl-right {
    font-size: 13px;
    line-height: 1.7;
  }

  .hcl-close-btn {
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 30px;
  }

  .image-row {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
  }

  .image-card {
    width: 100%;
  }
}


/* ================================================================
   ABOUT.HTML — EMPLOYEE SLIDER
   ================================================================ */
@media (max-width: 768px) {

  .employee-slider-section {
    padding: 50px 0;
  }

  .employee-title {
    font-size: 24px;
    text-align: center;
  }

  .employee-card {
    flex-direction: column;
    height: auto;
  }

  .employee-img {
    width: 100%;
    height: 220px;
  }

  .employee-info {
    width: 100%;
    min-height: 180px;
  }

  .info-content {
    position: relative;
    bottom: auto !important;
    padding: 20px;
  }
}


/* ================================================================
   ABOUT.HTML — TEAM SWIPER
   ================================================================ */
@media (max-width: 768px) {

  .team-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 22px !important;
    line-height: 1.3;
    margin-bottom: 24px !important;
  }

  .team-swiper {
    width: 100% !important;
    padding-bottom: 30px;
  }

  .team-card {
    width: 90% !important;
    height: auto !important;
    transform: scale(0.95) !important;
    margin: 0 auto;
  }

  .swiper-slide-active .team-card {
    transform: scale(1) !important;
  }

  .team-img {
    height: 260px !important;
  }

  .team-img img {
    height: 100%;
    object-fit: cover;
  }

  .team-info {
    height: auto !important;
    padding: 10px 8px;
  }

  .team-info h4 {
    font-size: 14px !important;
  }

  .team-info span {
    font-size: 11px;
  }

  /* Disable hover overlay on mobile */
  .team-hover {
    display: none !important;
  }

  .team-more-btn {
    margin-top: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .team-more-card {
    width: 95%;
    max-height: 90vh;
  }
}


/* ================================================================
   ABOUT.HTML — TIMELINE / JOURNEY SECTION
   ================================================================ */
@media (max-width: 768px) {

  .jnj-section-wrapper {
    padding: 50px 12px !important;
  }

  .section-header {
    margin-bottom: 40px !important;
  }

  .section-title {
    font-size: 28px !important;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .timeline-item {
    margin-bottom: 32px;
  }

  .timeline-card {
    padding: 16px;
  }

  .timeline-card h3 {
    font-size: 18px;
  }

  .timeline-card p {
    font-size: 13px;
  }

  /* Hide blobs on mobile */
  .blob {
    display: none !important;
  }
}


/* ================================================================
   ABOUT.HTML — SUCCESS STORIES / ALUMNI
   ================================================================ */
@media (max-width: 768px) {

  .success-section {
    padding: 40px 0;
  }

  .success-heading {
    font-size: 24px !important;
    padding: 0 12px;
  }

  .success-subtitle {
    font-size: 14px;
    padding: 0 12px;
  }

  .success-swiper {
    width: 100vw;
    padding-bottom: 40px;
  }

  .success-swiper .swiper-slide {
    width: 280px !important;
  }

  .success-card {
    padding: 16px 12px;
    min-width: 260px;
    max-width: 280px;
  }

  .success-prev { left: 40%; }
  .success-next { right: 40%; }

  /* Hide edge fade on mobile */
  .success-section::after,
  .success-section::before {
    width: 30px;
  }
}


/* ================================================================
   ABOUT.HTML — PROCESS / AGILE SECTION
   ================================================================ */
@media (max-width: 768px) {

  .sprint-bar {
    padding: 12px;
    margin-bottom: 40px;
  }

  .sprint-bar-inner {
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .sprint-icon-btn {
    width: 36px !important;
    height: 36px !important;
  }

  .phase-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .phase-card {
    padding: 18px;
  }

  .phase-card h3 {
    font-size: 18px;
  }

  .process-tagline {
    margin-top: 40px;
  }

  .process-tagline-inner {
    padding: 10px 16px;
    font-size: 13px;
  }
}


/* ================================================================
   SERVICES.HTML — HERO SECTION (IMAGE SLIDESHOW)
   ================================================================ */
@media (max-width: 768px) {

  .jnj-hero {
    min-height: 80vh;
    min-height: 80dvh;
  }

  .jnj-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
  }

  .jnj-hero__content {
    min-height: 80vh;
    min-height: 80dvh;
    padding: 1.5rem 1rem;
  }

  .jnj-hero__badge {
    font-size: 10px;
    padding: 5px 14px;
    margin-bottom: 1.5rem;
  }

  .jnj-hero__title {
    font-size: 1.6rem !important;
    max-width: 100%;
  }

  .jnj-hero__desc {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .jnj-hero__service-label {
    font-size: 0.7rem;
  }

  .jnj-hero__service-tagline {
    font-size: 0.85rem;
    max-width: 100%;
  }

  .jnj-hero__cta {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .jnj-hero__btn {
    width: 80%;
    text-align: center;
    justify-content: center;
  }

  .jnj-hero__dots {
    margin-top: 2rem;
  }
}


/* ================================================================
   SERVICES.HTML — SLIDER HERO (OLD STYLE)
   ================================================================ */
@media (max-width: 768px) {

  .services-slider-wrap {
    margin-top: 90px !important;
    height: 240px !important;
  }

  .services-slider .slide {
    height: 240px !important;
    object-fit: cover !important;
  }

  .services-slider-wrap h1.bread {
    font-size: 24px !important;
  }

  .services-slider-wrap .breadcrumbs {
    font-size: 13px;
  }
}


/* ================================================================
   SERVICES.HTML — SERVICE CAROUSEL
   ================================================================ */
@media (max-width: 768px) {

  .services-section {
    padding: 30px 0;
  }

  .service-slide {
    min-height: auto;
    text-align: center;
    padding: 16px 0;
  }

  .service-slide .row {
    flex-direction: column;
  }

  .service-slide .col-md-5,
  .service-slide .col-md-7 {
    width: 100%;
    text-align: center;
  }

  .service-img {
    max-width: 200px !important;
    margin: 0 auto 16px;
  }

  .service-slide h3 {
    font-size: 18px;
  }

  .service-slide p {
    font-size: 13px;
    padding: 0 10px;
  }

  /* Carousel controls */
  .carousel-controls-overlay {
    padding: 0 12px;
    bottom: 8px;
  }

  .control-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}


/* ================================================================
   SERVICES.HTML — CTA SECTION
   ================================================================ */
@media (max-width: 768px) {

  .cta-section {
    padding: 60px 16px !important;
  }

  .cta-section h2 {
    font-size: 24px !important;
  }

  .cta-section p {
    font-size: 14px;
    max-width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-primary-cta,
  .btn-outline-cta {
    width: 80%;
    text-align: center;
    padding: 12px 20px;
  }
}


/* ================================================================
   PRODUCTS.HTML — HERO SECTION
   ================================================================ */
@media (max-width: 768px) {

  .products-hero {
    min-height: auto !important;
    height: auto !important;
    padding: 30px 0 20px;
    margin-top: 80px;
  }

  .hero-wrapper {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px !important;
    align-items: center;
    text-align: center;
  }

  .hero-left {
    min-width: auto !important;
    width: 100% !important;
  }

  .hero-left h1 {
    font-size: 32px !important;
    white-space: normal !important;
    text-align: center;
  }

  .hero-slider {
    width: 100% !important;
    overflow: hidden;
  }

  /* Hero Accordion on mobile */
  .hero-accordion {
    height: 280px !important;
    gap: 1px;
  }

  .accordion-item span {
    font-size: 11px !important;
    writing-mode: vertical-rl;
    margin-bottom: 14px;
  }

  .accordion-item.active span {
    font-size: 20px !important;
    writing-mode: horizontal-tb;
    margin-bottom: 20px;
  }

  .accordion-item {
    background-size: 40% !important;
  }

  .accordion-item.active {
    background-size: 50% !important;
  }

  /* Hero video */
  .hero-video {
    width: 100% !important;
  }

  .hero-video video {
    max-width: 100%;
    border-radius: 14px;
  }

  /* Cubes background */
  .hero-cubes {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-accordion {
    height: 220px !important;
  }

  .accordion-item.active span {
    font-size: 16px !important;
  }

  .hero-left h1 {
    font-size: 26px !important;
  }
}


/* ================================================================
   PRODUCTS.HTML — PRODUCT CARDS / FILTER
   ================================================================ */
@media (max-width: 768px) {

  .products-space {
    padding: 40px 0 60px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .section-head p {
    font-size: 14px;
  }

  .command-hub {
    top: 68px;
    border-radius: 12px;
    padding: 10px;
  }

  .search-field {
    font-size: 13px;
    padding: 10px 12px;
  }

  .hub-row {
    gap: 6px;
    flex-wrap: wrap;
  }

  .filter-chip {
    padding: 7px 10px;
    font-size: 10px;
  }

  .status-chip {
    width: 100%;
    margin-left: 0;
    text-align: center;
    margin-top: 6px;
  }

  .product-stage {
    grid-template-columns: 1fr !important;
    border-radius: 14px;
    min-height: auto;
  }

  .stage-rail {
    min-height: 36px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    padding: 8px 14px;
  }

  .stage-main {
    padding: 14px;
  }

  .stage-main h3 {
    font-size: 22px;
  }

  .stage-main p {
    font-size: 13px;
  }

  .stage-metrics {
    gap: 6px;
  }

  .stage-metrics span {
    font-size: 10px;
    padding: 5px 8px;
  }

  .stage-actions {
    gap: 6px;
  }

  .stage-link {
    padding: 8px 10px;
    font-size: 11px;
  }

  .stage-preview {
    grid-column: 1 / -1;
    border-left: 0 !important;
    border-top: 1px solid var(--line);
    min-height: 180px;
    padding: 20px;
  }

  .stage-preview img {
    max-width: 200px;
    max-height: 150px;
  }
}


/* ================================================================
   CONTACT.HTML — HERO VIDEO
   ================================================================ */
@media (max-width: 768px) {

  .contact-hero {
    height: 400px !important;
    margin-top: 90px !important;
  }

  .hero-video {
    margin-top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    height: 300px !important;
    margin-top: 80px !important;
  }
}


/* ================================================================
   CONTACT.HTML — MAP & GLOBE SECTION
   ================================================================ */
@media (max-width: 768px) {

  .contact-section {
    padding: 30px 12px !important;
  }

  .work-title {
    font-size: 1.6rem !important;
    text-align: center;
  }

  .work-header {
    text-align: center;
  }

  .work-header span {
    display: block;
    margin-top: 4px;
  }

  /* Globe container */
  #globe-container {
    height: 50vh !important;
    min-height: 300px;
  }

  /* Location buttons */
  .methodology-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  /* Branch card overlay */
  .hidden-card {
    width: 280px;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 18px;
    font-size: 13px;
  }

  /* Map section */
  .map-layout {
    flex-direction: column;
    gap: 16px;
  }

  .country-switch.vertical {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .country-btn {
    margin-left: 0 !important;
    padding: 8px 20px;
    font-size: 13px;
  }

  .world-map {
    max-width: 100%;
    padding: 6px;
  }

  /* Map zoom — disabled on mobile */
  .world-map.zoom-india .map-inner,
  .world-map.zoom-usa .map-inner {
    transform: none;
  }

  .pin {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 4px rgba(255,59,59,0.35);
  }

  .pin::after {
    font-size: 10px;
    padding: 3px 6px;
  }
}


/* ================================================================
   CONTACT.HTML — CONTACT DETAILS & CARDS
   ================================================================ */
@media (max-width: 768px) {

  .contact-details {
    padding: 50px 16px;
  }

  .contact-switch {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-btn {
    padding: 8px 18px;
    font-size: 13px;
  }

  .contact-cards {
    max-width: 100%;
  }

  .country-block.show {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .contact-card {
    padding: 18px;
  }

  iframe {
    height: 240px !important;
  }
}


/* ================================================================
   CONTACT.HTML — CONTACT FORM SECTION
   ================================================================ */
@media (max-width: 768px) {

  .ftco-section.bg-light {
    padding: 30px 0;
  }

  .wrapper {
    padding: 0 !important;
  }

  /* Contact info boxes */
  .dbox {
    margin-bottom: 20px;
    text-align: center;
  }

  .dbox .icon {
    margin: 0 auto 10px;
  }

  .contact-floating-form {
    padding: 20px 16px;
  }

  /* Alumni form */
  .alumni-box {
    margin-top: 24px;
    padding: 20px 16px;
  }

  .alumni-header {
    flex-direction: column;
    text-align: center;
  }

  .upload-box {
    padding: 14px;
  }
}


/* ================================================================
   CONTACT.HTML — HERO BANNER (OLD STYLE)
   ================================================================ */
@media (max-width: 768px) {

  .hero-wrap.hero-wrap-2 {
    height: 220px !important;
    margin-top: 90px !important;
  }

  .hero-wrap.hero-wrap-2 h1 {
    font-size: 24px !important;
  }

  .hero-wrap.hero-wrap-2 .breadcrumbs {
    font-size: 13px;
  }
}


/* ================================================================
   GENERAL — HERO READ MORE BARS (ABOUT PAGE CARDS)
   ================================================================ */
@media (max-width: 768px) {

  .hero-readbar {
    height: 48px;
  }

  .hero-read-btn {
    font-size: 13px;
    padding: 5px 14px;
  }
}


/* ================================================================
   GENERAL — LOADER
   ================================================================ */
@media (max-width: 768px) {

  #page-loader .loader-wrapper {
    width: 70px;
    height: 70px;
  }

  .loader-logo {
    width: 42px;
  }
}


/* ================================================================
   GENERAL — ALL VIDEOS (HERO + INLINE) MOBILE COVER
   ================================================================ */
@media (max-width: 768px) {

  video[autoplay] {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Ensure video containers don't overflow */
  .hero-wipro,
  .jnj-hero,
  .contact-hero {
    overflow: hidden !important;
  }
}


/* ================================================================
   SMALL PHONES (≤ 375px) — EXTRA COMPACT
   ================================================================ */
@media (max-width: 375px) {

  .hero-animate {
    font-size: 16px !important;
  }

  .hero-title {
    font-size: 22px !important;
  }

  .jnj-hero__title {
    font-size: 1.3rem !important;
  }

  .who-title {
    font-size: 20px;
  }

  .what-title {
    font-size: 22px;
  }

  .section-title {
    font-size: 20px !important;
  }

  .success-heading {
    font-size: 20px !important;
  }

  .hero-left h1 {
    font-size: 22px !important;
  }

  .products-hero {
    margin-top: 70px;
  }

  .contact-hero {
    height: 260px !important;
    margin-top: 70px !important;
  }
}


/* ================================================================
   TABLET (769px — 1024px) — ADJUSTMENTS
   ================================================================ */
@media (min-width: 769px) and (max-width: 1024px) {

  .hero-container {
    gap: 40px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-card {
    width: 230px;
  }

  .shape-wrapper {
    transform: scale(0.75);
  }

  .hero-accordion {
    height: 350px;
  }

  .product-stage {
    grid-template-columns: 56px 1fr;
  }

  .stage-preview {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}


/* ================================================================
   LANDSCAPE MOBILE FIX
   ================================================================ */
@media (max-width: 900px) and (orientation: landscape) {

  .hero-wipro {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-bg-video {
    min-height: 100%;
    object-fit: cover !important;
  }

  .jnj-hero {
    min-height: 100vh;
  }

  .contact-hero {
    height: 100vh !important;
  }

  .hero-animate {
    font-size: 20px !important;
  }
}


/* ================================================================
   PRINT SAFETY
   ================================================================ */
@media print {
  .wipro-navbar,
  #page-loader,
  .chatbot-card,
  .cookie-banner,
  .hero-bg-video,
  .hero-video {
    display: none !important;
  }
}
