/* =========================
   Mobile (<= 768px)
========================= */
@media (max-width: 768px) {
  .blue-background-full {
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .blue-background-full::before {
    top: -50px;
    left: -15%;
    width: 130%;
    height: 125%;
    transform: skewY(-2deg);
  }

  .blue-background-full .static-corporate-section__body {
    padding: 0 20px;
  }

  .blue-background-full h3 {
    font-size: 30px;
    line-height: 1.35;
  }

  .block-field-blocknodepagebody {
    margin-bottom: 30px;
    margin-top: 30px;
  }

  .block-field-blocknodepagebody .field--name-body h2 {
    font-size: 24px;
    line-height: 1.5;
  }

  .blue-background-full .static-corporate-section__body {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .block-content-partner_scale_construction h2 {
    font-size: 24px;
    line-height: 1.5;
  }

  .block-content-partner_scale_construction h3 {
    font-size: 24px;
  }

  .block-content-partner_scale_construction p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    font-family: "Roboto", sans-serif;
    text-align: left;
    font-weight: 300;
  }
  .category-main-section .custom-nav-tabs .nav-link {
    font-size: 0.9rem;
  }

  .category-main-section .building-hero {
    min-height: 400px;
    padding: 20px;
  }
  .hero-carousel .carousel-indicators {
    margin-left: 8%;
    bottom: 8%;
  }
  .block-content-partner_scale_construction
    .field--type-entity-reference-revisions
    > .field__item {
    width: 50%;
  }
  .wtcCarousel .main-heading {
    font-size: 1.5rem;
  }

  .wtcCarousel .heading-container {
    top: 62%;
    left: 10%;
  }

  /* Move further down on mobile */
  .wtcCarousel .custom-arrow {
    width: 35px;
    height: 35px;
  }

  .home-from-possibility-to-reality-with-innovation---left h3 {
    text-align: center;
  }

  .home-from-possibility-to-reality-with-innovation---left p {
    text-align: center;
  }

  .home-from-possibility-to-reality-with-innovation---right {
    margin-top: 0px;
  }

  .home-from-possibility-to-reality-with-innovation---left {
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .home-saint-gobain-every-solution-one-ecosystem---left h3 {
    text-align: center;
  }

  .home-saint-gobain-every-solution-one-ecosystem---left p {
    text-align: center;
  }

  .home-saint-gobain-every-solution-one-ecosystem---left {
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .home-saint-gobain-every-solution-one-ecosystem---right {
    margin-top: 25px;
  }

  .sg-floating-card {
    padding: 0px;
    margin-top: 0px;
  }

  .sg-interactive-wrapper {
    height: auto;
    background: #f8f9fa;
  }
  .sg-bg-slider-container {
    display: none; /* Hide background slider on mobile */
  }
  .sg-floating-card {
    top: 0;
    box-shadow: none !important;
  }
  .sg-icon-btn {
    width: 30%; /* Fewer items per row logic needed for mobile or horizontal scroll */
    margin-bottom: 0px;
  }

  .sg-interactive-wrapper {
    margin-top: 0px;
  }

  .sg-icon-btn .icon-img img {
    width: 40px;
  }

  .sg-icon-btn span {
    font-size: 14px;
  }
  .every-aspect-integrated-title p a {
    margin-bottom: 15px !important;
  }
  .glance-section .nav-tabs-custom {
    gap: 4px;
    margin-bottom: 30px;
  }

  .glance-section .stat-item {
    border-bottom: none;
  }
  .glance-section .stat-divider {
    border-right: none;
  }
  .glance-section .stat-item:last-child {
    border-bottom: none;
  }

  /* Static Corporate Section on about page */
  .about-solutions-engineered-for-indias-climate-cities-and-future---left {
    padding-right: 0;
    margin-bottom: 50px;
  }
  .about-innovation-that-accelerates-indias-transition-to-light--sustainable-construction---right {
    padding-left: 0;
    margin-bottom: 50px;
    margin-top: 50px;
  }
  .our-sustainability-vision----right {
    margin-top: 0px;
    margin-bottom: 50px;
  }
  .about-solutions-engineered-for-indias-climate-cities-and-future---left
    .static-corporate-section__body {
    padding: 23% 9% 38% 9%;
  }
  .about-innovation-that-accelerates-indias-transition-to-light--sustainable-construction---right
    .static-corporate-section__body,
  .our-sustainability-vision----right .static-corporate-section__body {
    padding: 24% 9% 10.2% 9%;
  }
  .about-solutions-engineered-for-indias-climate-cities-and-future---left h2,
  .about-innovation-that-accelerates-indias-transition-to-light--sustainable-construction---right
    h2,
  .our-sustainability-vision----right h2 {
    font-size: 24px;
    line-height: 28px;
  }
  .about-solutions-engineered-for-indias-climate-cities-and-future---left::after {
    top: 75px;
  }
  .about-innovation-that-accelerates-indias-transition-to-light--sustainable-construction---right:after,
  .our-sustainability-vision----right:after {
    top: 75px;
    right: -20px;
  }

  .about-solutions-engineered-for-indias-climate-cities-and-future---left::after {
    width: 98%;
    height: 77.5%;
  }
  .about-innovation-that-accelerates-indias-transition-to-light--sustainable-construction---right:after,
  .our-sustainability-vision----right:after {
    width: 98%;
    height: 77.5%;
  }

  .layout--twocol-section--33-67:has(
    .layout__region.layout__region--first
      > div.about-innovation-that-accelerates-indias-transition-to-light--sustainable-construction---left
  ),
  .layout--twocol-section--33-67:has(
    .layout__region.layout__region--first
      > div.our-sustainability-vision----left
  ) {
    flex-direction: column-reverse;
  }
  .layout--twocol-section--67-33:has(
    .layout__region.layout__region--first
      > div.about-solutions-engineered-for-indias-climate-cities-and-future---left
  ) {
    flex-direction: column;
  }
  .about-innovation-that-accelerates-indias-transition-to-light--sustainable-construction---left {
    margin-top: 0;
  }
  .about-solutions-engineered-for-indias-climate-cities-and-future---right {
    margin-top: 0;
  }
  .about-solutions-engineered-for-indias-climate-cities-and-future---left
    .static-corporate-section__body,
  .about-innovation-that-accelerates-indias-transition-to-light--sustainable-construction---right
    .static-corporate-section__body,
  .our-sustainability-vision----right .static-corporate-section__body {
    height: 470px;
  }
  .layout__region.layout__region--second:has(
      div.our-sustainability-vision----right
    ) {
    width: 100%;
  }
  /* Static Corporate Section on about page end */

  .build-on-values-driven-by-responsibility-section .policy-card {
    border-right: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
  }
  .build-on-values-driven-by-responsibility-section .policy-card:last-child {
    border-bottom: none;
  }
  .build-on-values-driven-by-responsibility-section .policy-card {
    border-right: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
  }
  .build-on-values-driven-by-responsibility-section .policy-card:last-child {
    border-bottom: none;
  }

  /*----Legacy Mile stone block-----*/
  .milestone-reveal {
    position: relative;
    transform: unset;
    flex-direction: column;
    gap: 15px;
    top: unset;
    left: unset;
    text-align: center;
  }
  .milestone-item .milestone-year {
    text-align: center;
    padding-bottom: 15px;
  }
  .milestones-timeline .timeline-connector {
    width: 65%;
    height: 1px;
  }
  .milestone-image img {
    transform: scaleX(1);
  }
  .milestone-description {
    opacity: 1;
    transform: unset;
  }
  .milestone-item {
    padding: 50px 30px;
  }
  /*----Legacy Mile stone block ends-----*/
  .performance-that-scales-across-every-built-environment-section h2 {
    font-size: 24px;
    line-height: 1.5;
  }
  .performance-that-scales-across-every-built-environment-section {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  /* Sectors overview highlight */

  /* Sectors overview highlight end */

  .benefits-grid .benefit-card .benefit-text h3 {
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 24px;
    height: 72px;
  }

  .vision-statement-wrapper .card-inner {
    height: 400px;
  }
  .vision-statement-wrapper .card-content {
    padding: 30px;
  }

  /* Header */
  #navbar-main,
  #navbar-top .region-top-header {
    max-width: 540px;
  }
  .search-toggle-allinone__form::before {
    display: none;
  }
  /* Header ends */

  .paragraph-slider .slider-item {
    height: 360px;
  }

  .paragraph-slider .slider-content-container {
    padding: 24px;
  }

  .paragraph-slider .slide-title {
    font-size: 20px;
  }
  .paragraph-slider-section .slider-description h2 {
    font-size: 24px;
  }
  .eco-benefits-section .eco-benefits-header {
    text-align: center;
  }

  .eco-benefits-section .eco-benefits-description {
    margin-left: auto;
    margin-right: auto;
  }

  .eco-benefits-section .benefit-card {
    text-align: left;
    align-items: center;
  }
  .benefit-icon {
    width: 70px;
  }
  .eco-benefits-section .eco-benefits-note {
    text-align: center;
  }

  .csr-report-download h3 {
    width: 100%;
    left: 0px;
    text-align: center;
    line-height: 1.5;
    top: 20px;
  }

  .csr-report-download p {
    width: 100%;
    padding-right: 0px;
    padding-top: 30px;
    text-align: center;
  }

  /** image Slider Section **/
  .image-slider-section .slider-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .image-slider-section .slider-controls .slider-next {
    right: 0;
  }
  .image-slider-section .slider-controls .slider-prev {
    left: 0;
  }
  .image-slider-section .image-slider {
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  /** image Slider Section End **/
  .innovation-metrics-slider .slider-track .slider-item {
    flex: 0 0 100%;
  }

  .hero-title,
  .purpose-impact-section .section-subtitle {
    width: 100%;
  }

  .values-responsibility-section .section-main-title {
    line-height: 36px;
  }
  .field--type-text-with-summary,
  .image-slider-section,
  .purpose-impact-section,
  .csr-report-download {
    padding-left: 15px;
    padding-right: 15px;
  }
  .layout--twocol-section--33-67:has(
    .layout__region.layout__region--first
      > div.our-sustainability-vision----left
  ) {
    margin-top: 30px;
  }
  .our-sustainability-vision----left {
    margin-bottom: 30px;
  }
  .sustainability-page-hero-banner + .hero-content h2 {
    width: 100%;
  }
  .sustainability-at-the-core-of-everything {
    padding: 30px 0;
  }
  .sustainability-at-the-core-of-everything p {
    padding: 0 20px;
  }

  .company-value-pillars-section {
    padding: 50px 0 50px;
  }
  .block-site-components.block-hotspot-block {
    padding-bottom: 0px;
  }
  .hostpot-container {
    margin-bottom: 0px;
  }
  .block-content-partner_scale_construction p {
    margin-bottom: 10px !important;
  }
  .block-content-partner_scale_construction {
    padding: 0px 0 40px 0;
  }
  .block-content-partner_scale_construction h2 {
    margin-bottom: 0px;
  }
  .category-main-section {
    padding: 0px 0 20px 0;
  }
  .every-aspect-integrated-title {
    padding: 0px;
  }
  .sg-icon-btn .icon-img {
    height: 50px;
    margin-bottom: 0px;
  }
  .every-aspect-integrated-title h3 {
    margin-bottom: 10px !important;
  }
  .values-responsibility-wrapper .modal-dialog {
    max-width: 100%;
  }

  .values-responsibility-wrapper .modal-header,
  .values-responsibility-wrapper .modal-body {
    padding: 20px;
  }

  .values-responsibility-wrapper .modal-tabs {
    overflow-x: auto;
  }
  .about-page-hero-banner + .hero-content h2 {
    font-size: 2rem;
  }
  .glance-section .glance-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  .global-legacy-stats-section .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 0;
  }
  .global-legacy-stats-section .nav-tabs .nav-item {
    flex: 1 1 50%;
    min-width: 0;
  }
  .global-legacy-stats-section .nav-tabs li h2 {
    width: 100%;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    /* padding: 8px 10px; */
    font-size: 14px;
  }
  .global-legacy-stats-section .nav-tabs li h2 {
    line-height: 18px;
  }
  .global-legacy-stats-section .tab-content .stat-media .play-overlay svg {
    width: 50px;
    height: 50px;
  }
  .tab-icon-wrapper img {
    height: 65px;
  }
  .sg-arrow {
    display: none;
  }
  .benefit-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
