/* ================= ABOUT US PAGE MOBILE RESPONSIVE STYLES ================= */

/* ================= HIDE MOBILE ELEMENTS ON TABLET/DESKTOP ================= */
@media (min-width: 768px) {
  .about-hero__subtitle--mobile,
  .about-hero__title-wrapper--mobile,
  .about-hero__title--mobile,
  .about-hero__arrow--mobile,
  .about-hero__text--mobile,
  .services__title--mobile,
  .expertise__title--mobile {
    display: none !important;
  }
  
  .services__title--desktop,
  .expertise__title--desktop {
    display: inline-block !important;
  }
}

/* ================= MOBILE RESPONSIVE STYLES (max-width: 767px) ================= */

@media (max-width: 767px) {
  
  /* ========== HIDE DESKTOP/TABLET ELEMENTS ON MOBILE ========== */
  .about-hero__subtitle--desktop,
  .about-hero__title-wrapper--desktop,
  .about-hero__title--desktop,
  .about-hero__arrow--desktop,
  .about-hero__text--desktop,
  .services__title--desktop,
  .expertise__title--desktop {
    display: none !important;
  }
  
  /* ========== SERVICES TITLE DESKTOP/MOBILE VISIBILITY ========== */
  .services__title--desktop {
    display: none !important;
  }
  
  .services .services__header .services__title--desktop {
    display: none !important;
  }
  
  .services__header .services__title.services__title--desktop {
    display: none !important;
  }
  
  /* ========== SHOW MOBILE ELEMENTS ON MOBILE ========== */
  .about-hero__subtitle--mobile,
  .about-hero__title-wrapper--mobile,
  .about-hero__title--mobile,
  .about-hero__arrow--mobile,
  .about-hero__text--mobile,
  .services__title--mobile,
  .expertise__title--mobile {
    display: block !important;
  }
  
  .services__title--mobile {
    display: inline-block !important;
    visibility: visible !important;
  }
  
  .services .services__header .services__title--mobile {
    display: inline-block !important;
    visibility: visible !important;
  }
  
  .services__header .services__title.services__title--mobile {
    display: inline-block !important;
    visibility: visible !important;
  }
  
  .about-hero__title-wrapper--mobile {
    display: block !important;
  }
  
  :root {
    /* ========== MOBILE TYPOGRAPHY SCALE ========== */
    
    /* Section Titles & Headings */
    --mobile-title-primary: clamp(1.3rem, 4.2vw, 1.7rem);       /* Main section titles */
    --mobile-title-secondary: clamp(1rem, 3.5vw, 1.3rem);     /* Sub-section titles */
    --mobile-title-tertiary: clamp(0.9rem, 3vw, 1.1rem);      /* Card/component titles */
    --mobile-hero-title: clamp(2rem, 8vw, 2.8rem);            /* Hero main title */
    
    /* Body Text & Content */
    --mobile-text-large: clamp(0.85rem, 2.5vw, 0.95rem);      /* Large body text */
    --mobile-text-base: clamp(0.75rem, 2.2vw, 0.85rem);       /* Standard body text */
    --mobile-text-small: clamp(0.65rem, 2vw, 0.75rem);        /* Small text, captions */
    --mobile-subtitle: clamp(1rem, 3.5vw, 1.3rem);            /* Section subtitles - increased */
    
    /* Interactive Elements */
    --mobile-button-text: clamp(0.7rem, 2.4vw, 0.8rem);       /* Button text */
    --mobile-form-text: clamp(0.75rem, 2.2vw, 0.85rem);       /* Form inputs */
    
    /* Decorative & UI Elements */
    --mobile-svg-small: clamp(12px, 3vw, 16px);               /* Small SVGs/icons */
    --mobile-svg-medium: clamp(16px, 4vw, 20px);              /* Medium SVGs */
    --mobile-arrow-width: clamp(220px, 50vw, 350px);          /* Hero arrow width - matches ~80% title width */
    
    /* Spacing Scale */
    --mobile-spacing-xs: clamp(0.25rem, 1vw, 0.4rem);         /* Extra small spacing */
    --mobile-spacing-sm: clamp(0.4rem, 1.5vw, 0.6rem);        /* Small spacing */
    --mobile-spacing-md: clamp(0.6rem, 2.5vw, 0.8rem);        /* Medium spacing */
    --mobile-spacing-lg: clamp(0.8rem, 3.5vw, 1.2rem);        /* Large spacing */
    --mobile-spacing-xl: clamp(1rem, 4.5vw, 1.6rem);          /* Extra large spacing */
    --mobile-spacing-xxl: clamp(1.5rem, 6vw, 2.5rem);         /* Section spacing */
    
    /* Container & Layout */
    --mobile-container-padding: clamp(16px, 4vw, 24px);       /* Side padding */
    --mobile-section-padding: clamp(2rem, 8vw, 3.5rem);       /* Section padding */
  }
  
  /* ========== GLOBAL MOBILE CONTAINER SYSTEM ========== */
  .container {
    width: calc(100% - (var(--mobile-container-padding) * 2)) !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }
  
  .about-hero__container,
  .services__container,
  .expertise__container,
  .gallery__container {
    width: calc(100% - (var(--mobile-container-padding) * 2)) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  /* ========== SECTION SPACING ========== */
  section {
    padding: var(--mobile-section-padding) 0 !important;
  }
}

/* ================= HERO SECTION MOBILE OPTIMIZATION ================= */

@media (max-width: 767px) {
  
  .about-hero {
    padding: var(--mobile-section-padding) 0 !important;
    overflow: hidden !important;
    background-color: #fff !important;
  }
  
  .about-hero__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: var(--mobile-spacing-xxl) !important;
    flex-wrap: nowrap !important;
  }
  
  /* ========== CONTENT ORDER & LAYOUT ========== */
  .about-hero__content {
    order: 1 !important;
    width: 100% !important;
    flex: none !important;
    min-width: unset !important;
    padding-right: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .about-hero__image-container {
    order: 2 !important;
    width: 100% !important;
    flex: none !important;
    min-width: unset !important;
    min-height: unset !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 0 !important;
  }
  
  /* ========== TYPOGRAPHY & TEXT CONTENT ========== */
  .about-hero__subtitle {
    font-size: var(--mobile-subtitle) !important;
    font-weight: 700 !important;
    text-transform: lowercase !important;
    color: #232323 !important;
    margin-bottom: var(--mobile-spacing-lg) !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
  }
  
  .about-hero__title-wrapper {
    position: relative !important;
    margin-bottom: var(--mobile-spacing-xxl) !important;
    width: 100% !important;
  }
  
  .about-hero__title {
    font-size: var(--mobile-hero-title) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #e63946 !important;
    margin: 12px 0 !important;
    max-width: 100% !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }

  
  /* ========== DECORATIVE ARROW POSITIONING (MOBILE SPECIFIC) ========== */
  .about-hero__arrow--mobile {
    position: absolute !important;
    left: 0 !important;
    width: var(--mobile-arrow-width) !important;
    max-width: var(--mobile-arrow-width) !important;
    height: auto !important;
    margin: 0 !important;
  }
  
  /* ========== BODY TEXT (MOBILE SPECIFIC) ========== */
  .about-hero__text--mobile {
    font-size: var(--mobile-text-base) !important;
    line-height: 1.6 !important;
    color: #232323 !important;
    margin-top: clamp(2.5rem, 4vw, 3rem) !important;
    margin-bottom: 0 !important;
    max-width: 100% !important;
  }
  
  /* ========== IMAGE & VIDEO OPTIMIZATION ========== */
  .about-hero__image {
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(250px, 60vw, 350px) !important;
    min-height: clamp(220px, 55vw, 320px) !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    display: block !important;
  }
  
  /* Video element specific styling */
  .about-hero__image[autoplay] {
    object-position: center center !important;
  }
}

/* ================= STRENGTH BEHIND THE STEEL SECTION - MOBILE ================= */
@media (max-width: 767px) {
  .strength-behind-steel {
    padding: clamp(2rem, 5vw, 3rem) 0 !important;
    background-color: #fff !important;
    overflow: hidden !important;
  }
  
  .strength-behind-steel__container {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  
  .strength-behind-steel__content {
    text-align: left !important;
    width: 100% !important;
  }
  
  .strength-behind-steel__title {
    font-size: clamp(1.3rem, 4.2vw, 1.6rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #e63946 !important;
    margin: 0 0 clamp(1rem, 3vw, 1.5rem) 0 !important;
    text-transform: lowercase !important;
  }
  
  .strength-behind-steel__hero-content {
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(1rem, 3vw, 1.5rem) !important;
    margin: clamp(1.5rem, 4vw, 2rem) 0 !important;
  }
  
  .strength-behind-steel__subtitle {
    font-size: clamp(1.2rem, 4vw, 1.6rem) !important;
    font-weight: 700 !important;
    color: #232323 !important;
    margin: 0 !important;
  }
  
  .strength-behind-steel__intro {
    font-size: var(--mobile-text-base) !important;
    line-height: 1.6 !important;
    color: #232323 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  

  
  .strength-behind-steel__cards-grid-apart {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(1.5rem, 4vw, 2rem) !important;
    margin: clamp(2rem, 5vw, 3rem) 0 !important;
  }

  .strength-behind-steel__cards-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(1.5rem, 4vw, 2rem) !important;
    margin: clamp(2rem, 5vw, 3rem) 0 !important;
  }
  
  .strength-behind-steel__card {
    background: var(--color-secondary) !important;
    border-radius: 0 !important;
    padding: clamp(2rem, 5vw, 2.5rem) clamp(1.5rem, 4vw, 2rem) !important;
    border: none !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 240px !important;
  }
  
  .strength-behind-steel__card-icon {
    width: clamp(45px, 10vw, 55px) !important;
    height: clamp(45px, 10vw, 55px) !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: clamp(1.2rem, 3vw, 1.5rem) !important;
    transition: all 0.3s ease !important;
  }
  
  .strength-behind-steel__card:hover .strength-behind-steel__card-icon {
    background: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%) !important;
    transform: scale(1.05) !important;
  }
  
  .strength-behind-steel__card-icon-img {
    width: clamp(22px, 5vw, 28px) !important;
    height: clamp(22px, 5vw, 28px) !important;
    object-fit: contain !important;
    transition: all 0.3s ease !important;
  }
  
  .strength-behind-steel__card:hover .strength-behind-steel__card-icon-img {
    filter: brightness(0) invert(1) !important;
  }
  
  .strength-behind-steel__card-title {
    font-size: clamp(1rem, 3.5vw, 1.3rem) !important;
    font-weight: 700 !important;
    color: #e63946 !important;
    margin: 0 0 clamp(0.8rem, 2vw, 1rem) 0 !important;
    line-height: 1.3 !important;
  }
  
  .strength-behind-steel__card-text {
    font-size: var(--mobile-text-base) !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    margin: 0 !important;
    flex-grow: 1 !important;
  }
  
  .strength-behind-steel__team-highlights {
    margin: clamp(2rem, 5vw, 3rem) 0 !important;
  }
  
  .strength-behind-steel__highlights-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem) !important;
    font-weight: 700 !important;
    margin: 0 0 clamp(1.5rem, 4vw, 2rem) 0 !important;
  }
  
  .strength-behind-steel__stats-table {
    width: 100% !important;
    margin: 0 auto !important;
    background-color: var(--color-secondary) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }
  
  .strength-behind-steel__stats-cell {
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem) !important;
    text-align: left !important;
    position: relative !important;
    background-color: var(--color-secondary) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: clamp(0.8rem, 2vw, 1rem) !important;
  }
  
  /* Remove all existing red lines */
  .strength-behind-steel__stats-cell::after {
    display: none !important;
  }
  
  
  /* Add horizontal line between rows (between cell 1-2 and 3-4) */
  .strength-behind-steel__stats-cell:nth-child(1)::before,
  .strength-behind-steel__stats-cell:nth-child(2)::before,
  .strength-behind-steel__stats-cell:nth-child(3)::before {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 4% !important;
    right: 6% !important;
    height: 1px !important;
    background-color: #e63946 !important;
    display: block !important;
  }
  
  .strength-behind-steel__stats-text {
    font-size: var(--mobile-text-small) !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }
  
  .strength-behind-steel__conclusion {
    font-size: var(--mobile-text-base) !important;
    line-height: 1.6 !important;
    color: #232323 !important;
    margin: clamp(1.5rem, 4vw, 2rem) 0 0 0 !important;
    font-style: italic !important;
    text-align: center !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Stack team highlight items vertically with red dividers (mobile only) */
  .strength-behind-steel__stats-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
  }
  
  .strength-behind-steel__stats-cell:last-child {
    border-bottom: none !important;
  }
}

/* ================= SERVICES SECTION MOBILE OPTIMIZATION ================= */

@media (max-width: 767px) {
  
  .services {
    padding: var(--mobile-section-padding) 0 !important;
    background-color: #fff !important;
    overflow: hidden !important;
  }
  
  .services__container {
    width: calc(100% - (var(--mobile-container-padding) * 2)) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  .services__header {
    margin-bottom: var(--mobile-spacing-xxl) !important;
  }
  
  /* ========== TITLE WITH REDUCED WIDTH & RESPONSIVE CORNER SVG ========== */
  .services__title {
    font-size: var(--mobile-title-primary) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #e63946 !important;
    position: relative !important;
    display: inline-block !important;
    max-width: 82% !important;
    margin: 0 !important;
    word-break: break-word !important;
  }
  
  .services__title--mobile {
    display: inline-block !important;
    font-size: var(--mobile-title-primary) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #e63946 !important;
    position: relative !important;
    max-width: 82% !important;
    margin: 0 !important;
    word-break: break-word !important;
  }
  
  /* ========== RESPONSIVE CORNER SVG POSITIONING ========== */
  .services__corner-svg {
    position: absolute !important;
    top: 0 !important;
    right: clamp(-8px, -2vw, -5px) !important;
    width: clamp(14px, 3.5vw, 18px) !important;
    height: clamp(14px, 3.5vw, 18px) !important;
    z-index: 3 !important;
  }
  
  /* ========== CAROUSEL OPTIMIZATION ========== */
  .services__carousel {
    position: relative !important;
    width: 100% !important;
    margin-top: var(--mobile-spacing-lg) !important;
  }
  
  .services__track {
    display: flex !important;
    gap: var(--mobile-spacing-lg) !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding-bottom: var(--mobile-spacing-xxl) !important;
    width: 100% !important;
    padding-right: var(--mobile-container-padding) !important;
  }
  
  .services__track::-webkit-scrollbar {
    display: none !important;
  }
  
  /* ========== SERVICE CARDS MOBILE OPTIMIZATION ========== */
  .service-card {
    flex: 0 0 auto !important;
    width: clamp(240px, 70vw, 280px) !important;
    min-width: clamp(220px, 65vw, 260px) !important;
    background-color: #232323 !important;
    padding: var(--mobile-spacing-lg) var(--mobile-spacing-md) !important;
    border-radius: 0 !important;
    text-align: left !important;
    scroll-snap-align: start !important;
    position: relative !important;
    height: clamp(160px, 40vw, 180px) !important;
    transition: background-color 0.3s ease !important;
    overflow: hidden !important;
  }
  
  .service-card__icon-wrapper {
    position: absolute !important;
    top: var(--mobile-spacing-md) !important;
    right: var(--mobile-spacing-md) !important;
    z-index: 2 !important;
  }
  
  .service-card__icon {
    width: clamp(32px, 8vw, 36px) !important;
    height: clamp(32px, 8vw, 36px) !important;
    object-fit: contain !important;
  }
  
  .service-card__title {
    font-size: var(--mobile-title-tertiary) !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: #e63946 !important;
    position: absolute !important;
    bottom: var(--mobile-spacing-md) !important;
    left: var(--mobile-spacing-md) !important;
    right: var(--mobile-spacing-lg) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    z-index: 1 !important;
    line-height: 1.2 !important;
  }
  
  .service-card__text {
    position: absolute !important;
    bottom: var(--mobile-spacing-md) !important;
    left: var(--mobile-spacing-md) !important;
    right: var(--mobile-spacing-md) !important;
    color: #fff !important;
    font-size: var(--mobile-text-small) !important;
    line-height: 1.3 !important;
    opacity: 0 !important;
    transform: translateY(10px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    z-index: 1 !important;
    margin: 0 !important;
  }
  
  /* ========== CARD HOVER EFFECTS (TOUCH OPTIMIZED) ========== */
  .service-card:hover,
  .service-card:active {
    background-color: #E5383B !important;
  }
  
  .service-card:hover .service-card__title,
  .service-card:active .service-card__title {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
  }
  
  .service-card:hover .service-card__text,
  .service-card:active .service-card__text {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  /* ========== NAVIGATION DOTS ========== */
  .services__navigation {
    display: flex !important;
    justify-content: center !important;
    gap: var(--mobile-spacing-sm) !important;
    margin-top: var(--mobile-spacing-lg) !important;
  }
  
  .services__nav-dot {
    width: clamp(8px, 2vw, 10px) !important;
    height: clamp(8px, 2vw, 10px) !important;
    border-radius: 50% !important;
    background-color: #ddd !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    /* Larger touch target for mobile */
    position: relative !important;
  }
  
  .services__nav-dot::before {
    content: "" !important;
    position: absolute !important;
    top: -8px !important;
    left: -8px !important;
    right: -8px !important;
    bottom: -8px !important;
  }
  
  .services__nav-dot--active {
    background-color: #e63946 !important;
  }
  
  .services__nav-dot:hover,
  .services__nav-dot:active {
    background-color: #ccc !important;
  }
  
  .services__nav-dot--active:hover,
  .services__nav-dot--active:active {
    background-color: #d32f2f !important;
  }
}

/* ================= EXPERTISE SECTION MOBILE OPTIMIZATION ================= */

@media (max-width: 767px) {
  
  .expertise {
    padding: var(--mobile-section-padding) 0 0 0 !important;
    background-color: #282828 !important;
    color: #fff !important;
    overflow: hidden !important;
  }
  
  .expertise .expertise__container {
    width: calc(100% - (var(--mobile-container-padding) * 2)) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }
  
  .expertise .expertise__content {
    order: 1 !important;
    width: 100% !important;
    flex: none !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 3 !important;
  }
  
  /* ========== EXPERTISE TITLE WITH RESPONSIVE CORNER SVG ========== */
  .expertise__title {
    font-size: var(--mobile-title-primary) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #fff !important;
    position: relative !important;
    display: inline-block !important;
    max-width: 96% !important;
    margin: 0 !important;
    word-break: break-word !important;
    text-align: left !important;
  }
  
  .expertise__title--mobile {
    display: inline-block !important;
    font-size: var(--mobile-title-primary) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #fff !important;
    position: relative !important;
    max-width: 96% !important;
    margin: 0 !important;
    word-break: break-word !important;
    text-align: left !important;
  }
  
  /* ========== EXPERTISE CORNER SVG POSITIONING ========== */
  .expertise__corner-svg {
    position: absolute !important;
    top: clamp(-16px, -4vw, -10px) !important;
    right: clamp(-5px, -1vw, 0px) !important;
    width: clamp(24px, 6vw, 32px) !important;
    height: clamp(24px, 6vw, 32px) !important;
    z-index: 3 !important;
  }
  
  .expertise .expertise__content .expertise__title--desktop {
    display: none !important;
  }
  
  .expertise .expertise__content .expertise__title--mobile {
    display: inline-block !important;
  }
  
  .expertise__content .expertise__title.expertise__title--desktop {
    display: none !important;
  }
  
  .expertise__content .expertise__title.expertise__title--mobile {
    display: inline-block !important;
  }
  
  /* ========== EXPERTISE IMAGE OPTIMIZATION ========== */
  .expertise .expertise__image {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    margin-top: clamp(-85px, -17vw, -50px) !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }
  
  .expertise .expertise__svg {
    width: 100% !important;
    max-width: clamp(280px, 75vw, 350px) !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* ================= GALLERY SECTION MOBILE OPTIMIZATION ================= */
/* PRESERVE DESKTOP GRID STRUCTURE - NO VERTICAL STACKING */

@media (max-width: 767px) {
  
  .gallery {
    padding: var(--mobile-section-padding) 0 !important;
    background-color: #fff !important;
    overflow: hidden !important;
  }
  
  .gallery__container {
    width: calc(100% - (var(--mobile-container-padding) * 2)) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  /* ========== MOBILE GRID - PRESERVES DESKTOP 12-COLUMN STRUCTURE ========== */
  .gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr) !important;  /* SAME AS DESKTOP */
    grid-auto-rows: auto !important;
    grid-gap: clamp(8px, 2vw, 12px) !important;
    width: 100% !important;
  }
  
  /* ========== GALLERY ITEMS - SAME PROPORTIONS AS DESKTOP ========== */
  .gallery__item {
    background-color: #ddd !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    min-height: clamp(100px, 20vw, 140px) !important;
    position: relative !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  }
  
  .gallery__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    transition: transform 0.3s ease !important;
  }
  
  /* ========== TOP ROW - EXACT SAME PROPORTIONS ========== */
  .gallery__item--wide {
    grid-column: span 8 !important;  /* SAME AS DESKTOP */
    min-height: clamp(120px, 25vw, 160px) !important;
    margin-top: 0 !important;
  }
  
  .gallery__item--narrow {
    grid-column: span 4 !important;  /* SAME AS DESKTOP */
    min-height: clamp(120px, 25vw, 160px) !important;
    margin-top: 0 !important;
  }
  
  /* ========== MIDDLE ROW - 3 EQUAL TILES ========== */
  .gallery__item--medium {
    grid-column: span 4 !important;  /* SAME AS DESKTOP */
    min-height: clamp(100px, 20vw, 140px) !important;
    margin-top: clamp(8px, 2vw, 12px) !important;
  }
  
  /* ========== BOTTOM ROW - VERTICAL STACK + LARGE TILE ========== */
  .gallery__vertical-stack {
    grid-column: span 4 !important;  /* SAME AS DESKTOP */
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(6px, 1.5vw, 10px) !important;
    margin-top: clamp(8px, 2vw, 12px) !important;
  }
  
  .gallery__item--small {
    min-height: clamp(50px, 10vw, 70px) !important;
    margin-top: 0 !important;
  }
  
  .gallery__item--large {
    grid-column: span 8 !important;  /* SAME AS DESKTOP */
    min-height: clamp(110px, 22vw, 150px) !important;
    margin-top: clamp(8px, 2vw, 12px) !important;
  }
  
  /* ========== MOBILE HOVER EFFECTS ========== */
  .gallery__item:hover,
  .gallery__item:active {
    transform: scale(1.01) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    z-index: 2 !important;
  }
  
  .gallery__item:hover .gallery__image,
  .gallery__item:active .gallery__image {
    transform: scale(1.03) !important;
  }
}

/* ================= MOBILE SUB-BREAKPOINTS FOR HERO SECTION ================= */

/* Extra Small Mobile Devices (320px - 375px) */
@media (max-width: 375px) {
  
  :root {
    --mobile-hero-title: clamp(1.8rem, 7vw, 2.2rem);
    --mobile-subtitle: clamp(0.9rem, 3.2vw, 1.1rem);
    --mobile-text-base: clamp(0.7rem, 2vw, 0.8rem);
    --mobile-container-padding: 16px;
    --mobile-section-padding: clamp(1.5rem, 6vw, 2.5rem);
    --mobile-arrow-width: clamp(200px, 48vw, 300px);
  }
  
  .about-hero__title {
    max-width: 100% !important;
    line-height: 1.05 !important;
  }
  
  .about-hero__arrow--mobile {
    bottom: clamp(-25px, -7vw, -35px) !important;
  }
  
  .about-hero__text--mobile {
    margin-top: clamp(2.8rem, 8vw, 4rem) !important;
  }
  
  .about-hero__image {
    height: clamp(220px, 55vw, 280px) !important;
    min-height: clamp(200px, 50vw, 250px) !important;
  }
}

/* Small Mobile Devices (376px - 414px) */
@media (min-width: 376px) and (max-width: 414px) {
  
  :root {
    --mobile-hero-title: clamp(2rem, 7.5vw, 2.4rem);
    --mobile-subtitle: clamp(0.95rem, 3.3vw, 1.15rem);
    --mobile-text-base: clamp(0.75rem, 2.1vw, 0.83rem);
    --mobile-container-padding: 18px;
    --mobile-arrow-width: clamp(210px, 49vw, 320px);
  }
  
  .about-hero__image {
    height: clamp(240px, 58vw, 300px) !important;
    min-height: clamp(220px, 53vw, 270px) !important;
  }
}

/* Medium Mobile Devices (415px - 480px) */
@media (min-width: 415px) and (max-width: 480px) {
  
  :root {
    --mobile-hero-title: clamp(2.1rem, 7.8vw, 2.5rem);
    --mobile-subtitle: clamp(1rem, 3.4vw, 1.2rem);
    --mobile-text-base: clamp(0.78rem, 2.2vw, 0.85rem);
    --mobile-container-padding: 20px;
    --mobile-arrow-width: clamp(215px, 49.5vw, 330px);
  }
  
  .about-hero__image {
    height: clamp(260px, 60vw, 320px) !important;
    min-height: clamp(240px, 55vw, 290px) !important;
  }
}

/* Large Mobile Devices (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
  
  :root {
    --mobile-hero-title: clamp(2.2rem, 8vw, 2.6rem);
    --mobile-subtitle: clamp(1.05rem, 3.5vw, 1.25rem);
    --mobile-text-base: clamp(0.8rem, 2.3vw, 0.87rem);
    --mobile-container-padding: 22px;
    --mobile-arrow-width: clamp(220px, 50vw, 340px);
  }
  
  .about-hero__image {
    height: clamp(280px, 62vw, 340px) !important;
    min-height: clamp(260px, 57vw, 310px) !important;
  }
}

/* Extra Large Mobile Devices (601px - 767px) */
@media (min-width: 601px) and (max-width: 767px) {
  
  :root {
    --mobile-hero-title: clamp(2.4rem, 8.2vw, 2.8rem);
    --mobile-subtitle: clamp(1.1rem, 3.6vw, 1.3rem);
    --mobile-text-base: clamp(0.82rem, 2.4vw, 0.9rem);
    --mobile-container-padding: 24px;
    --mobile-arrow-width: clamp(225px, 51vw, 350px);
  }
  
  .about-hero__image {
    height: clamp(300px, 64vw, 360px) !important;
    min-height: clamp(280px, 59vw, 330px) !important;
  }
  
  .about-hero__title {
    max-width: 100% !important;
  }
  
  .about-hero__text {
    max-width: 100% !important;
  }
}

/* ================= SERVICES SECTION MOBILE SUB-BREAKPOINTS ================= */

/* Extra Small Mobile Devices (320px - 375px) */
@media (max-width: 375px) {
  
  .services__title {
    max-width: 84% !important;
    font-size: clamp(1.2rem, 4vw, 1.5rem) !important;
  }
  
  .services__corner-svg {
    position: absolute !important;
    top: 0 !important;
    right: clamp(-6px, -1.8vw, -3px) !important;
    width: clamp(12px, 3vw, 16px) !important;
    height: clamp(12px, 3vw, 16px) !important;
    z-index: 3 !important;
  }
  
  .service-card {
    width: clamp(220px, 75vw, 260px) !important;
    min-width: clamp(200px, 70vw, 240px) !important;
    height: clamp(150px, 38vw, 170px) !important;
  }
  
  .service-card__icon {
    width: clamp(28px, 7vw, 32px) !important;
    height: clamp(28px, 7vw, 32px) !important;
  }
  
  .service-card__title {
    font-size: clamp(0.85rem, 2.8vw, 1rem) !important;
  }
  
  .service-card__text {
    font-size: clamp(0.6rem, 1.8vw, 0.7rem) !important;
  }
}

/* Small Mobile Devices (376px - 414px) */
@media (min-width: 376px) and (max-width: 414px) {
  
  .services__title {
    max-width: 81% !important;
    font-size: clamp(1.25rem, 4.1vw, 1.55rem) !important;
  }
  
  .services__corner-svg {
    position: absolute !important;
    top: 0 !important;
    right: clamp(-7px, -1.9vw, -4px) !important;
    width: clamp(13px, 3.2vw, 17px) !important;
    height: clamp(13px, 3.2vw, 17px) !important;
    z-index: 3 !important;
  }
  
  .service-card {
    width: clamp(230px, 72vw, 270px) !important;
    min-width: clamp(210px, 67vw, 250px) !important;
    height: clamp(155px, 39vw, 175px) !important;
  }
}

/* Medium Mobile Devices (415px - 480px) */
@media (min-width: 415px) and (max-width: 480px) {
  
  .services__title {
    max-width: 79% !important;
    font-size: clamp(1.3rem, 4.2vw, 1.6rem) !important;
  }
  
  .services__corner-svg {
    position: absolute !important;
    top: 0 !important;
    right: clamp(-8px, -2vw, -5px) !important;
    width: clamp(14px, 3.3vw, 18px) !important;
    height: clamp(14px, 3.3vw, 18px) !important;
    z-index: 3 !important;
  }
  
  .service-card {
    width: clamp(240px, 70vw, 275px) !important;
    min-width: clamp(220px, 65vw, 255px) !important;
    height: clamp(160px, 40vw, 178px) !important;
  }
}

/* Large Mobile Devices (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
  
  .services__title {
    max-width: 77% !important;
    font-size: clamp(1.35rem, 4.3vw, 1.65rem) !important;
  }
  
  .services__corner-svg {
    position: absolute !important;
    top: 0 !important;
    right: clamp(-9px, -2.1vw, -6px) !important;
    width: clamp(15px, 3.4vw, 19px) !important;
    height: clamp(15px, 3.4vw, 19px) !important;
    z-index: 3 !important;
  }
  
  .service-card {
    width: clamp(250px, 68vw, 280px) !important;
    min-width: clamp(230px, 63vw, 260px) !important;
    height: clamp(165px, 41vw, 180px) !important;
  }
}

/* Extra Large Mobile Devices (601px - 767px) */
@media (min-width: 601px) and (max-width: 767px) {
  
  .services__title {
    max-width: 74% !important;
    font-size: clamp(1.4rem, 4.4vw, 1.7rem) !important;
  }
  
  .services__corner-svg {
    position: absolute !important;
    top: 0 !important;
    right: clamp(-10px, -2.2vw, -7px) !important;
    width: clamp(16px, 3.6vw, 20px) !important;
    height: clamp(16px, 3.6vw, 20px) !important;
    z-index: 3 !important;
  }
  
  .service-card {
    width: clamp(260px, 65vw, 285px) !important;
    min-width: clamp(240px, 60vw, 265px) !important;
    height: clamp(170px, 42vw, 185px) !important;
  }
  
  .service-card__title {
    font-size: clamp(0.95rem, 3.2vw, 1.15rem) !important;
  }
  
  .service-card__text {
    font-size: clamp(0.7rem, 2.1vw, 0.8rem) !important;
  }
}

/* ================= EXPERTISE SECTION MOBILE SUB-BREAKPOINTS ================= */

/* Extra Small Mobile Devices (320px - 375px) */
@media (max-width: 375px) {
  
  .expertise__title {
    max-width: 98% !important;
    font-size: clamp(1.2rem, 4vw, 1.5rem) !important;
  }
  
  .expertise__corner-svg {
    top: clamp(-12px, -3vw, -7px) !important;
    right: clamp(-8px, -2vw, -2px) !important;
    width: clamp(22px, 5.5vw, 28px) !important;
    height: clamp(22px, 5.5vw, 28px) !important;
  }
  
  .expertise .expertise__image {
    margin-top: clamp(-75px, -15vw, -45px) !important;
  }
  
  .expertise .expertise__svg {
    max-width: clamp(250px, 70vw, 300px) !important;
  }
}

/* Small Mobile Devices (376px - 414px) */
@media (min-width: 376px) and (max-width: 414px) {
  
  .expertise__title {
    max-width: 95% !important;
    font-size: clamp(1.25rem, 4.1vw, 1.55rem) !important;
  }
  
  .expertise__corner-svg {
    top: clamp(-13px, -3.2vw, -8px) !important;
    right: clamp(-7px, -1.8vw, -1px) !important;
    width: clamp(23px, 5.7vw, 29px) !important;
    height: clamp(23px, 5.7vw, 29px) !important;
  }
  
  .expertise .expertise__image {
    margin-top: clamp(-80px, -16vw, -47px) !important;
  }
  
  .expertise .expertise__svg {
    max-width: clamp(260px, 72vw, 320px) !important;
  }
}

/* Medium Mobile Devices (415px - 480px) */
@media (min-width: 415px) and (max-width: 480px) {
  
  .expertise__title {
    max-width: 93% !important;
    font-size: clamp(1.3rem, 4.2vw, 1.6rem) !important;
  }
  
  .expertise__corner-svg {
    top: clamp(-14px, -3.4vw, -8px) !important;
    right: clamp(-6px, -1.6vw, 0px) !important;
    width: clamp(24px, 5.8vw, 30px) !important;
    height: clamp(24px, 5.8vw, 30px) !important;
  }
  
  .expertise .expertise__image {
    margin-top: clamp(-83px, -16.5vw, -48px) !important;
  }
  
  .expertise .expertise__svg {
    max-width: clamp(270px, 73vw, 330px) !important;
  }
}

/* Large Mobile Devices (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
  
  .expertise__title {
    max-width: 91% !important;
    font-size: clamp(1.35rem, 4.3vw, 1.65rem) !important;
  }
  
  .expertise__corner-svg {
    top: clamp(-14px, -3.6vw, -9px) !important;
    right: clamp(-5px, -1.4vw, 1px) !important;
    width: clamp(25px, 6vw, 31px) !important;
    height: clamp(25px, 6vw, 31px) !important;
  }
  
  .expertise .expertise__image {
    margin-top: clamp(-85px, -17vw, -50px) !important;
  }
  
  .expertise .expertise__svg {
    max-width: clamp(275px, 74vw, 340px) !important;
  }
}

/* Extra Large Mobile Devices (601px - 767px) */
@media (min-width: 601px) and (max-width: 767px) {
  
  .expertise__title {
    max-width: 88% !important;
    font-size: clamp(1.4rem, 4.4vw, 1.7rem) !important;
  }
  
  .expertise__corner-svg {
    top: clamp(-15px, -3.8vw, -9px) !important;
    right: clamp(-4px, -1.2vw, 2px) !important;
    width: clamp(26px, 6.2vw, 32px) !important;
    height: clamp(26px, 6.2vw, 32px) !important;
  }
  
  .expertise .expertise__image {
    margin-top: clamp(-90px, -18vw, -55px) !important;
  }
  
  .expertise .expertise__svg {
    max-width: clamp(285px, 76vw, 360px) !important;
  }
}

/* ================= GALLERY SECTION MOBILE SUB-BREAKPOINTS ================= */

/* Extra Small Mobile Devices (320px - 375px) */
@media (max-width: 375px) {
  
  .gallery__grid {
    grid-gap: clamp(6px, 1.5vw, 8px) !important;
  }
  
  .gallery__item {
    min-height: clamp(80px, 18vw, 120px) !important;
  }
  
  .gallery__item--wide,
  .gallery__item--narrow {
    min-height: clamp(100px, 22vw, 140px) !important;
  }
  
  .gallery__item--medium {
    min-height: clamp(80px, 18vw, 120px) !important;
    margin-top: clamp(6px, 1.5vw, 8px) !important;
  }
  
  .gallery__vertical-stack {
    gap: clamp(4px, 1vw, 6px) !important;
    margin-top: clamp(6px, 1.5vw, 8px) !important;
  }
  
  .gallery__item--small {
    min-height: clamp(40px, 8vw, 60px) !important;
  }
  
  .gallery__item--large {
    min-height: clamp(90px, 20vw, 130px) !important;
    margin-top: clamp(6px, 1.5vw, 8px) !important;
  }
}

/* Small Mobile Devices (376px - 414px) */
@media (min-width: 376px) and (max-width: 414px) {
  
  .gallery__grid {
    grid-gap: clamp(7px, 1.7vw, 9px) !important;
  }
  
  .gallery__item {
    min-height: clamp(90px, 19vw, 130px) !important;
  }
  
  .gallery__item--wide,
  .gallery__item--narrow {
    min-height: clamp(110px, 23vw, 150px) !important;
  }
  
  .gallery__item--medium {
    min-height: clamp(90px, 19vw, 130px) !important;
    margin-top: clamp(7px, 1.7vw, 9px) !important;
  }
  
  .gallery__vertical-stack {
    gap: clamp(5px, 1.2vw, 7px) !important;
    margin-top: clamp(7px, 1.7vw, 9px) !important;
  }
  
  .gallery__item--small {
    min-height: clamp(45px, 9vw, 65px) !important;
  }
  
  .gallery__item--large {
    min-height: clamp(100px, 21vw, 140px) !important;
    margin-top: clamp(7px, 1.7vw, 9px) !important;
  }
}

/* Medium Mobile Devices (415px - 480px) */
@media (min-width: 415px) and (max-width: 480px) {
  
  .gallery__grid {
    grid-gap: clamp(8px, 1.8vw, 10px) !important;
  }
  
  .gallery__item {
    min-height: clamp(95px, 20vw, 135px) !important;
  }
  
  .gallery__item--wide,
  .gallery__item--narrow {
    min-height: clamp(115px, 24vw, 155px) !important;
  }
  
  .gallery__item--medium {
    min-height: clamp(95px, 20vw, 135px) !important;
    margin-top: clamp(8px, 1.8vw, 10px) !important;
  }
  
  .gallery__vertical-stack {
    gap: clamp(6px, 1.3vw, 8px) !important;
    margin-top: clamp(8px, 1.8vw, 10px) !important;
  }
  
  .gallery__item--small {
    min-height: clamp(48px, 10vw, 68px) !important;
  }
  
  .gallery__item--large {
    min-height: clamp(105px, 22vw, 145px) !important;
    margin-top: clamp(8px, 1.8vw, 10px) !important;
  }
}

/* Large Mobile Devices (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
  
  .gallery__grid {
    grid-gap: clamp(9px, 1.9vw, 11px) !important;
  }
  
  .gallery__item {
    min-height: clamp(100px, 20vw, 140px) !important;
  }
  
  .gallery__item--wide,
  .gallery__item--narrow {
    min-height: clamp(120px, 25vw, 160px) !important;
  }
  
  .gallery__item--medium {
    min-height: clamp(100px, 20vw, 140px) !important;
    margin-top: clamp(9px, 1.9vw, 11px) !important;
  }
  
  .gallery__vertical-stack {
    gap: clamp(7px, 1.4vw, 9px) !important;
    margin-top: clamp(9px, 1.9vw, 11px) !important;
  }
  
  .gallery__item--small {
    min-height: clamp(50px, 10vw, 70px) !important;
  }
  
  .gallery__item--large {
    min-height: clamp(110px, 22vw, 150px) !important;
    margin-top: clamp(9px, 1.9vw, 11px) !important;
  }
}
