/**
 * ====================================================================
 * RESPONSIVE MOBILE STYLESHEET
 * Onkar Bevinakatti Portfolio Website
 * 
 * Scoped strictly to viewports <= 991px, <= 767px, and <= 575px.
 * Large desktop screens (> 992px) remain 100% UNTOUCHED and identical.
 * ====================================================================
 */

/* ====================================================================
   TABLET & MOBILE BREAKPOINT: max-width: 991px
   ==================================================================== */
@media screen and (max-width: 991.98px) {
  /* Global Overflow Safety Guardrails */
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
  }

  #smooth-wrapper,
  #smooth-content {
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  /* Images & Media Fluid Constraint */
  img,
  svg,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }

  /* Containers */
  .container,
  .container-fluid,
  .tw-container-1800-px {
    max-width: 100% !important;
    width: 100% !important;
    padding-inline: 16px !important;
    overflow-x: clip;
  }

  .row {
    margin-inline: 0 !important;
  }

  /* ================================================================
     NAVIGATION HEADER (index.html)
     Strictly keep Logo on left and Menu button on right in one row
     ================================================================ */
  header.header-three {
    padding-block: 12px !important;
    position: relative !important;
    z-index: 100 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  header.header-three nav {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-inline: 0 !important;
    display: flex !important;
  }

  header.header-three .header-three-logo {
    margin: 0 !important;
    padding: 6px 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
  }

  header.header-three .header-three-logo .max-w-200-px {
    max-width: 110px !important;
    height: auto !important;
    display: block !important;
  }

  header.header-three .header-right {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .tw-offcanvas-open-btn {
    width: 42px !important;
    height: 42px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Offcanvas Menu */
  .tw-offcanvas-2-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }

  .tw-offcanvas-2-left {
    width: 100% !important;
    padding: 24px 20px !important;
  }

  /* ================================================================
     HERO SECTION - MOBILE RE-ENGINEERING
     Display Intro Card, Clean Slogan, Prominent CTA, and Metrics
     ================================================================ */
  .banner-three-area {
    padding-block: 80px 40px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    position: relative !important;
  }

  /* On mobile: Keep the iconic DEVELOPER typography watermark and portrait man, properly scaled and layered */
  .banner-three-wrapper {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .banner-three-man {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    order: 1 !important;
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 20px auto -14px auto !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  .banner-three-man img {
    width: 100% !important;
    max-width: 330px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.12)) !important;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%) !important;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%) !important;
  }

  .banner-three-title {
    display: inline-block !important;
    position: absolute !important;
    top: 55px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    -webkit-transform: translateX(-50%) !important;
    z-index: 1 !important;
    font-size: clamp(3.6rem, 20.5vw, 6.5rem) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    letter-spacing: -0.015em !important;
    line-height: 0.82 !important;
    color: #0f172a !important;
    width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    user-select: none !important;
  }

  /* Hide awkward background line shapes on mobile */
  .banner-three-line-shape,
  .banner-three-carcel-shape {
    display: none !important;
  }

  /* Main Flex Container */
  .banner-three-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    width: 100% !important;
    position: relative !important;
    order: 2 !important;
    z-index: 3 !important;
  }

  /* Force Hero Animated Elements to be 100% visible on page load */
  .banner-three-left[data-aos],
  .banner-three-center[data-aos],
  .banner-three-right[data-aos],
  .banner-three-counter-item[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  /* 1. Introduction Card (Hello! I'm Onkar Bevinakatti) */
  section.banner-three-area .banner-three-wrap .banner-three-left {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 16px 0 0 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
    text-align: left !important;
  }

  .banner-three-left-title {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
    margin-bottom: 14px !important;
    text-align: left !important;
    color: #0f172a !important;
    font-weight: 700 !important;
  }

  .banner-three-list {
    max-width: 100% !important;
    width: 100% !important;
  }

  .banner-three-list ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .banner-three-list ul li {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 0 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    background: #f1f5f9 !important;
    padding: 5px 11px !important;
    border-radius: 999px !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
  }

  .banner-three-list ul li span img {
    width: 9px !important;
    height: 9px !important;
  }

  /* 2. Center Slogan & Action Button */
  section.banner-three-area .banner-three-wrap .banner-three-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
    padding-inline: 4px !important;
  }

  .banner-three-center-title {
    -webkit-text-stroke-width: 0 !important;
    -webkit-text-stroke-color: transparent !important;
    color: #0f172a !important;
    font-size: clamp(1.12rem, 4.5vw, 1.5rem) !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.2px !important;
    margin-bottom: 18px !important;
    text-transform: uppercase !important;
    max-width: 100% !important;
    word-break: break-word !important;
  }

  .banner-three-button {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .banner-three-button .tw-hover-btn {
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 13px 32px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* 3. Stat Counter Badges */
  section.banner-three-area .banner-three-wrap .banner-three-right {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .banner-three-counter-item {
    flex: 1 1 calc(50% - 12px) !important;
    min-width: 130px !important;
    max-width: 100% !important;
    padding: 16px 14px !important;
    margin: 0 !important;
    border-radius: 16px !important;
    text-align: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
  }

  .banner-three-counter-item.bg-black {
    background: #0f172a !important;
    border-color: #0f172a !important;
  }

  .banner-three-counter-title {
    font-size: 1.85rem !important;
    margin-bottom: 4px !important;
    line-height: 1 !important;
  }

  .banner-three-counter-paragraph {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
  }

  /* ================================================================
     OTHER SECTIONS
     ================================================================ */
  /* About Section */
  .about-area {
    padding-block: 50px !important;
  }

  .about-three-counter {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    margin: 24px auto 0 !important;
  }

  .about-three-wrap-shape {
    position: static !important;
    margin-top: 24px !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: center !important;
  }

  /* Marquee Sections */
  .marquee {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding-block: 14px !important;
  }

  .marquee_left {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding-block: 10px !important;
    gap: 32px !important;
  }

  .marquee-two-title,
  .marquee-three-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  /* Experience / Services Section — Compact Minimal Cards */
  .service-three-area {
    padding-top: 45px !important;
    padding-bottom: 40px !important;
  }

  .service-three-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    row-gap: 12px !important;
    padding: 18px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .service-three-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .service-three-number {
    font-size: 1rem !important;
    width: auto !important;
    margin-bottom: 2px !important;
  }

  .service-three-number img {
    width: 16px !important;
    height: auto !important;
  }

  .service-three-title {
    font-size: clamp(1.1rem, 3.2vw, 1.45rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
  }

  /* Hide the long description paragraph on mobile for minimal look */
  .service-three-item .text-neutral-400.tw-text-sm {
    display: none !important;
  }

  /* Compact tech tag pills */
  .service-three-item .portfolio-list ul {
    gap: 6px !important;
  }

  .service-three-item .portfolio-list ul li a,
  .portfolio-list ul li a,
  .portfolio-two-list ul li a {
    font-size: 0.68rem !important;
    padding: 4px 11px !important;
    letter-spacing: 0.3px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Completely remove the bullet circle dot inside tags */
  .service-three-item .portfolio-list ul li a::before,
  .portfolio-two-list ul li a::before,
  .portfolio-list ul li a::before {
    display: none !important;
    content: none !important;
  }

  /* Company name & date row */
  .service-three-item .text-main-two-600 {
    font-size: 0.8rem !important;
  }

  .service-three-item .text-white-50 {
    font-size: 0.75rem !important;
  }

  /* Hide the vertical separator bar on mobile so text wraps cleanly without orphaned pipe */
  .service-three-item .d-flex.align-items-center.flex-wrap.tw-gap-3.tw-mb-3 > span:nth-child(2) {
    display: none !important;
  }

  /* Shrink the thumbnail */
  .service-three-thumb {
    width: 100% !important;
    margin-top: 8px !important;
    text-align: center !important;
  }

  .service-three-thumb img {
    max-width: 160px !important;
    width: auto !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    margin: 0 auto !important;
    display: block !important;
  }

  /* Projects Section (index.html) */
  .portfolio-wrapper {
    padding-block: 55px !important;
  }

  .portfolio-three-item {
    max-width: 100% !important;
    width: 100% !important;
    padding: 24px 18px !important;
    margin-bottom: 40px !important;
  }

  .portfolio-three-wrap {
    flex-direction: column !important;
    row-gap: 16px !important;
  }

  .portfolio-three-wrap h2 {
    font-size: clamp(1.4rem, 4vw, 1.85rem) !important;
  }

  .portfolio-three-button {
    align-self: flex-start !important;
  }

  .portfolio-three-counter {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    margin: 30px auto 0 !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* Achievements Showcase Section */
  .achievements-section {
    padding-block: 60px !important;
    min-height: auto !important;
    height: auto !important;
  }

  .achievements-pinned-wrapper {
    min-height: auto !important;
    height: auto !important;
    display: block !important;
    padding: 0 !important;
  }

  .achievements-giant-title {
    font-size: clamp(2.2rem, 7vw, 2.8rem) !important;
    margin-bottom: 20px !important;
  }

  .achievements-title-line {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .achievements-sticky-col {
    height: auto !important;
    position: static !important;
    margin-bottom: 35px !important;
  }

  .achievement-stage {
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .achievement-scroll-item {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    filter: none !important;
    min-height: auto !important;
    padding: 30px 24px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 20px !important;
  }

  .achievement-scroll-item:last-child {
    margin-bottom: 0 !important;
  }

  .achievement-item-number {
    font-size: 2rem !important;
  }

  .achievement-item-title {
    font-size: 1.35rem !important;
  }

  /* Open Source & GitHub Section */
  .opensource-section {
    padding-block: 55px !important;
  }

  .github-repo-card,
  .merged-pr-card {
    padding: 22px 18px !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Tech Stack / Skills Section */
  .skills-dark-section {
    padding-block: 55px !important;
  }

  .skill-ticker-wrap {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent) !important;
  }

  .skills-spotlight-card {
    padding: 22px 18px !important;
    margin-bottom: 14px !important;
  }

  /* Education & Impact */
  .education-card {
    padding: 22px 18px !important;
    margin-bottom: 16px !important;
  }

  /* Footer & Contact */
  .footer-three-area {
    padding-top: 55px !important;
  }

  .footer-three-top-left {
    margin-inline-end: 0 !important;
    margin-bottom: 35px !important;
  }

  .spiderman-profile-card {
    padding: 24px 18px !important;
  }

  .footer-three-border {
    padding-inline: 16px !important;
  }

  .footer-three-middile {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 24px !important;
  }

  .footer-three-back-to-top {
    width: 72px !important;
    height: 72px !important;
    font-size: 1.5rem !important;
    margin: 8px auto !important;
  }

  .footer-bottom-black {
    padding-top: 30px !important;
    padding-bottom: 95px !important;
  }

  .footer-bottom-black .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
    max-width: 100% !important;
  }

  .footer-three-bottom-title {
    font-size: min(20.5vw, 395px) !important;
    white-space: nowrap !important;
    text-align: center !important;
    line-height: 1 !important;
    letter-spacing: 0.5px !important;
    width: 100% !important;
    display: block !important;
  }

  /* Back to top button pinned cleanly at the bottom-right corner */
  .back-to-top-wrapper {
    right: 14px !important;
    bottom: 0 !important;
    z-index: 9999 !important;
  }
  .back-to-top-wrapper.back-to-top-btn-show {
    right: 14px !important;
    bottom: 16px !important;
  }
  .back-to-top-btn {
    width: 42px !important;
    height: 42px !important;
    line-height: 42px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
  }

  /* Subpages Common Header */
  header.py-4,
  header.page-header {
    padding-block: 14px !important;
  }

  header.page-header .max-w-200-px,
  header.py-4 .max-w-200-px {
    max-width: 130px !important;
  }

  header.page-header nav,
  header.py-4 nav {
    gap: 10px !important;
  }
}

/* ====================================================================
   MOBILE PHONES BREAKPOINT: max-width: 767.98px
   ==================================================================== */
@media screen and (max-width: 767.98px) {
  /* Subpage Navigation Buttons (projects.html & experience-*.html) */
  header.page-header nav,
  header.py-4 nav {
    flex-wrap: wrap !important;
    justify-content: space-between !important;
  }

  header.page-header nav .d-flex.align-items-center.tw-gap-3,
  header.py-4 nav .d-flex.align-items-center.tw-gap-3 {
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  header.page-header nav a.btn,
  header.py-4 nav a.btn {
    padding: 6px 13px !important;
    font-size: 0.78rem !important;
    border-radius: 999px !important;
    letter-spacing: 0.2px !important;
  }

  /* Contact Spiderman Card Mobile Stack */
  .spiderman-profile-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .spiderman-profile-card .footer-three-top-thumb {
    width: 130px !important;
    margin: 0 auto !important;
  }

  .spiderman-profile-card .footer-three-top-content {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .spiderman-profile-card .footer-three-social ul {
    justify-content: center !important;
  }

  /* Form Controls */
  .form-control {
    font-size: 0.95rem !important;
    padding-inline: 16px !important;
    height: 52px !important;
  }

  textarea.form-control {
    height: 140px !important;
  }

  button.tw-hover-btn {
    font-size: 0.95rem !important;
    padding: 13px 20px !important;
  }

  /* Marquee Titles on Mobile */
  .marquee-two-title,
  .marquee-three-title {
    font-size: clamp(2rem, 9.5vw, 3.2rem) !important;
  }

  /* Projects Showcase Page (projects.html) */
  .project-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .project-desc {
    min-height: auto !important;
    font-size: 0.88rem !important;
  }

  /* Experience Detail Subpages */
  .hero-section {
    padding-block: 28px 20px !important;
  }

  .stat-card {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  .nav-experience-link {
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
  }

  /* Hide orange hover dot on touch devices — show only on tap/hover */
  .tw-btn-circle .tw-btn-circle-dot,
  .tw-hover-btn .tw-hover-btn-circle-dot,
  .about-three-counter .tw-btn-circle-dot {
    width: 0 !important;
    height: 0 !important;
  }

  .tw-btn-circle:hover .tw-btn-circle-dot,
  .tw-btn-circle:active .tw-btn-circle-dot,
  .tw-hover-btn:hover .tw-hover-btn-circle-dot,
  .tw-hover-btn:active .tw-hover-btn-circle-dot,
  .about-three-counter:hover .tw-btn-circle-dot,
  .about-three-counter:active .tw-btn-circle-dot {
    width: 420px !important;
    height: 420px !important;
  }

  .tw-btn-circle:hover .tw-btn-circle-icon,
  .tw-btn-circle:active .tw-btn-circle-icon,
  .tw-btn-circle:hover span,
  .tw-btn-circle:active span {
    color: hsl(var(--white)) !important;
  }

  /* ================================================================
     EXPERIENCE DETAIL PAGES — MOBILE RESPONSIVE
     ================================================================ */

  /* Hero Card */
  .internship-hero-card {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }

  .internship-hero-card .d-flex.align-items-center.justify-content-between {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .internship-hero-card h1 {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }

  .internship-meta-pill {
    font-size: 0.75rem !important;
    padding: 5px 12px !important;
  }

  /* Main Cards */
  .internship-main-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .internship-main-card h2,
  .internship-main-card h3 {
    font-size: 1rem !important;
    line-height: 1.35 !important;
  }

  /* Bullet Items */
  .bullet-item {
    gap: 10px !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }

  /* Stat Metric Tiles — stack vertically on mobile */
  .d-flex.flex-wrap.gap-3.pt-3.border-top {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .stat-metric-tile {
    flex: unset !important;
    width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
  }

  .stat-metric-val {
    font-size: 1.4rem !important;
    margin-bottom: 0 !important;
    white-space: nowrap !important;
  }

  .stat-metric-label {
    font-size: 0.7rem !important;
    text-align: left !important;
  }

  /* Tech Pills */
  .tech-pill {
    font-size: 0.78rem !important;
    padding: 6px 12px !important;
  }

  /* Key Focus Box */
  .key-focus-box {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  /* Icon squircle */
  .icon-squircle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    font-size: 1.1rem !important;
  }

  /* Page header on experience pages */
  .page-header nav {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .page-header .btn {
    font-size: 0.78rem !important;
    padding: 8px 14px !important;
  }
}

/* ====================================================================
   EXTRA SMALL SCREENS BREAKPOINT: max-width: 575.98px
   ==================================================================== */
@media screen and (max-width: 575.98px) {
  body {
    font-size: 0.95rem;
  }

  .banner-three-area {
    padding-block: 70px 35px !important;
  }

  .banner-three-title {
    top: 50px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    -webkit-transform: translateX(-50%) !important;
    font-size: clamp(3.2rem, 20.5vw, 5.5rem) !important;
    line-height: 0.82 !important;
    width: max-content !important;
    max-width: none !important;
    letter-spacing: -0.015em !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .banner-three-man {
    max-width: 340px !important;
    margin: 16px auto -16px auto !important;
  }

  .banner-three-man img {
    max-width: 310px !important;
  }

  .banner-three-center-title {
    font-size: clamp(1.05rem, 4.6vw, 1.4rem) !important;
    line-height: 1.32 !important;
  }

  /* Stat Circle in About */
  .about-three-counter .tw-w-160-px {
    width: 130px !important;
    height: 130px !important;
  }

  .about-three-counter .tw-btn-circle-icon {
    font-size: 1.75rem !important;
  }

  .about-three-counter .tw-text-2xl {
    font-size: 0.82rem !important;
  }

  .banner-three-counter-item {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px !important;
  }

  .banner-three-counter-title {
    font-size: 2rem !important;
  }

  /* Service / Experience Items */
  .service-three-item {
    padding: 18px 12px !important;
  }

  .portfolio-list ul li a,
  .portfolio-two-list ul li a,
  .service-three-item .portfolio-list ul li a {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    letter-spacing: 0.25px !important;
  }

  .portfolio-list ul li a::before,
  .portfolio-two-list ul li a::before {
    display: none !important;
    content: none !important;
  }

  /* Horizontal Workflow Cards */
  .horizontal-workflow-card {
    width: 84vw !important;
    padding: 20px 16px !important;
  }

  /* Footer Bottom Title */
  .footer-three-bottom-title {
    font-size: min(20.5vw, 395px) !important;
    white-space: nowrap !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
  }

  /* Subpage Header for Smallest Phones (only on subpages) */
  header.page-header nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  header.page-header nav .d-flex.align-items-center.tw-gap-3 {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  header.page-header nav a.btn {
    padding: 5px 11px !important;
    font-size: 0.74rem !important;
  }
}
