/* Responsive Adjustments */
/* Larger screens (above 1440px) */
@media (max-width: 1899px) {
  .circular-facilities {
    padding: 3% 5% 7% 5%;
  }

  .facility-map span,
  .stream span {
    font-size: 0.6rem;
  }

  .facility-map .mat-sort {
    top: 18%;
    right: 31.5%;
  }

  .facility-map .enrg-rec {
    top: 50%;
    right: 30%;
  }

  .facility-map .sec-mat {
    bottom: 7%;
    right: 29%;
  }
}

@media (min-width: 1441px) {

  .intro-container,
  .footer-container,
  .facilities-container,
  .platform-container,
  .ecotech-container,
  .gree-container,
  .nav-container {
    max-width: 1640px;
  }

  .logo img {
    height: 98px;
  }

  .nav-links a {
    font-size: 24.8px;
  }

  .scroll-indicator img {
    height: 46px;
  }

  .greenshare img {
    height: 24px;
  }

  .facilities-content h2,
  .platform-content h2,
  .ecotech-left h2,
  .gree-heading,
  .heading {
    font-size: 51.1px;
  }

  .text-content {
    right: 6%;
    top: 66%;
  }

  .text-content p {
    font-size: 1.6rem;
    padding-top: 70px;
  }

  .globe-container {
    transform: translate(-2%, 15.5%);
  }

  .facilities-content p,
  .platform-content p,
  .ecotech-left p,
  .gree-desc {
    font-size: 22.36px;
  }

  .platform-content p {
    width: 80%;
  }

  .facilities-content p {
    width: 84%;
  }

  img.gree {
    height: 72px;
  }

  .gree-subheading {
    font-size: 18.72px;
  }

  .gree-scroll-icon img {
    width: 30px
  }

  .gree-image img {
    /* max-height: 600px; */
  }

  .gree-text {
    max-width: 580px;
  }

  img.reward-tier {
    height: 40px;
  }

  .gri-box-dis {
    font-size: 0.9rem;
  }

  .platform-phone img {
    max-width: 248px;
  }

  .icon-title h3 {
    font-size: 1.2rem;
  }

  .icon-title img {
    width: 80px;
    height: 80px;
  }

  img.right-arrows {
    height: 18px;
  }

  /* .circularity-box-graph img,
.resource-box img {
  height: 135px;
} */
  .resource-box p,
  .circularity-box-graph p {
    font-size: 1.2rem;
  }

  .gri-box img {
    height: 120px;
  }

  .gri-box p {
    font-size: 1rem;
  }

  .platform-right {
    margin: 0 100px;
  }

  .stream {
    max-width: 215px;
  }

  /* .stream span {
    font-size: 0.9rem;
  } */

  .stream span {
    font-size: 0.7rem;
  }

  .stream.hazardous {
    max-width: 550px;
  }

  .waste-details-list li img {
    height: 19px;
  }

  .waste-details-list li span {
    font-size: 0.86rem;
  }

  .facility-map span {
    font-size: 0.9rem;
  }

  .facility-map img,
  .facility-flow img {
    /* max-width: 450px; */
    max-width: 1000px;
  }

  .facility-cross img {
    height: 50px;
  }

  .facility-zero-wate img {
    height: 45px;
  }

  .footer-logo img {
    /* max-width: 400px; */
    max-width: 320px;
  }

  .footer-contact h3,
  .footer-social h3 {
    font-size: 2.2rem;
  }

  .footer-contact img {
    width: 55px;
    height: 55px;
  }

  .footer-contact span {
    font-size: 1.4rem;
  }

  .footer-brands img {
    height: 53px;
  }

  img.greenshare_img {
    height: 35px;
    margin-top: 7rem;
  }

  .footer-icons img {
    width: 55px;
    height: 55px;
  }

  .footer-map img {
    height: 165px;
    width: 100%;
    margin-left: 3rem;
  }

}

@media (max-width: 1441px) {
  .facility-map img {
    max-width: 840px;
  }

  .hero {
    /* overflow: hidden; */
  }

  /* .top img {
        top: -92px;
    } */
  .scroll-indicator.herosc {
    left: -175%;
    top: 284px;
  }
}


@media (max-width: 1024px) {
  .nav-links {
    gap: 20px;

  }
}

@media (max-width: 1080px) {
  .navbar {
    padding: 35px 40px 0 40px;
  }


  .logo img {
    height: 80px;
  }

  /* .nav-links {

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: linear-gradient(to right, #063046 19%, #217146);
    padding: 0 5%;
    height: 100vh;
    z-index: 999;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
  }

  .nav-links a {
    color: white;
    padding: 10px 0 20px 0;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255);
    width: 90%;
    font-size: 28px;
    font-weight: 200;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links.active {
    max-height: 100vh;
    opacity: 1;
    padding: 0 5%;
  }

  .hamburger {
    display: block;
    margin-top: -20px;
  } */

  /* .greenshare img {
    width: auto;
    height: 35px;
  }

  .greenshare {
    margin-top: 1rem;
  } */

  .meet-gree {
    overflow: hidden;
  }

  .meet-gree,
  .hero {
    flex-direction: column;
    justify-content: center;
    margin-top: 15px;
  }

  .bg-graph.mobile {
    display: block;
  }

  .bg-graph {
    /* width: 100%; */
    opacity: 0.8;
  }

  .bg-graph img {
    width: 95%;
    top: -58px;
    left: 0;
  }

  .globe-container {
    width: 79%;
    top: -11%;
    left: -1%;
  }

  .globe {
    width: 95%;
  }

  .text-content {
    right: 0;
    top: 20%;
    max-width: 209px;
  }

  .gree-heading,
  .heading {
    font-size: 1.8rem;
  }

  .text-content p {
    font-size: 1rem;
    padding: 35px 10px 35px 0;
  }

  .stream.non-hazardous.mobile-mode img {
    /* max-width: 564px; */
    max-width: 360px;
  }

  .scroll-indicator.left-icon {
    display: flex;
    left: 6%;
    top: 0;
    justify-content: center;
  }

  .scroll-indicator {
    display: flex;
    left: 5%;
    top: 58px;
    justify-content: center;
  }

  /* .scroll-indicator.herosc {
    left: 48%;
    top: 195px;
  } */

  .scroll-indicator.herosc {
    left: -45px;
    top: 385px;
  }

  .scroll-indicator img {
    height: 40px !important;
  }

  /* INTRO SECTION */
  .intro {
    padding: 0% 5% 0 5%;
  }

  .feature-box p,
  .intro p {
    font-size: 18px;
  }

  .features-wrapper {
    align-items: center;
    justify-content: center;
  }

  .features-grid,
  .commitment-box {
    flex: inherit;
  }

  .scroll-indicator.intro {
    top: 0;
    left: 80px;
  }

  /* SECOND SECTION */
  .meet-gree {
    padding: 0% 5%;
  }

  .gree-image {
    margin-top: 2rem;
  }

  .gree-text {
    flex: inherit;
    max-width: 365px;
  }

  .gree-text img {
    height: 72px;
    margin-top: 1.5rem;
    margin-bottom: 0rem;
  }

  .gree-desc {
    font-size: 1rem;
    padding: 0;
  }

  .gree-image img {
    max-height: 430px;
  }

  .gree-subheading {
    font-size: 18.72px;
    margin-bottom: 0;
  }

  .scroll-indicator.ecotech-model {
    left: 5%;
    top: -60px;
  }

  /* THIRD SECTION */
  .ecotech-model {
    padding: 0% 5% 45% 5%;
  }

  .ecotech-container {
    flex-direction: column;
    margin-top: 0%;
    align-items: flex-start;
  }

  .ecotech-left {
    flex: 1;
    max-width: 490px;
  }

  .ecotech-right {
    margin-top: 2rem;
  }

  .ecotech-right img {
    margin-top: 2rem;
  }

  .ecotech-left h2 {
    font-size: 1.8rem;
  }

  .ecotech-left h2 span {
    font-size: 1.5rem;
  }

  .ecotech-left p {
    font-size: 1rem;
  }



  /* FOURTH SECTION */
  .ecotech-platform {
    padding: 15% 10%;
    /* overflow: hidden; */
  }

  .platform-container {
    flex-direction: column;
    margin-top: 40%;
  }

  .ecotech-platforms {
    display: block;
  }

  .platform-content h2 {
    font-size: 1.8rem;
    width: 100%;
  }

  .platform-content p {
    font-size: 1rem;
  }

  .platform-left p {
    width: 100%;
  }

  .platform-phone img {
    max-width: 100%;
  }

  .platform-right.pc-mode {
    display: none;
  }

  .platform-right.mobile-mode {
    display: block;
    margin-top: 0;
  }

  .platform-right.mobile-mode img {
    width: 100%;
    margin-top: 3rem;
  }


  /* FIFTH SECTION */
  .stream {
    max-width: 100%;
  }

  .facilities-content h2 {
    font-size: 1.8rem;
  }

  .facilities-content p {
    font-size: 1rem;
  }

  .stream.non-hazardous.pc-mode {
    display: none;
  }

  .stream.non-hazardous.mobile-mode {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .waste-streams {
    align-items: center;
    flex-direction: column;
    gap: 2rem
  }

  .waste-details-list.pc-mode {
    display: none;
  }

  .waste-details-list.mobile-mode {
    display: block;
    position: relative;
    left: 0;
    top: 0;
  }

  .waste-details-list.mobile-mode img {
    width: 100%;
  }

  .waste-details-list {
    position: absolute;
    top: 87%;
    left: -5%;
  }

  .facilities-platforms {
    flex-wrap: nowrap;
    flex-direction: column;
    margin-top: 0rem;
    align-items: center;
    overflow: hidden;
  }

  .stream.hazardous {
    max-width: 100%;
  }

  .facilities-right.pc-mode {
    display: none;
  }

  .facilities-right.mobile-mode {
    display: block;
  }

  .facilities-right.mobile-mode img {
    width: 100%;
    /* margin-top: 5rem; */
  }

  .facility-cross img {
    height: 65px;
    margin: 1rem 0;
  }

  .facility-zero-wate img {
    height: 45px;
  }

  .facility-zero-wate span {
    font-size: 34px;
  }

  .facility-zero-wate p {
    font-size: 22px;
    line-height: 1.1;
  }

  .facility-zero-wate.mob,
  .facility-cross.mob {
    display: block;
  }

  .stream .none-haz {
    left: 6%;
    top: 50%;
  }

  .stream .indust {
    left: 46%;
    top: 50%;
  }

  .none-haz.mobile-mode {
    display: block;
  }

  .stream span {
    font-size: 0.9rem;
  }


  /* FOOTER SECTION */
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    overflow: hidden;
  }

  .footer-logo img {
    max-width: 296px;
  }

  .footer-contact,
  .footer-social {
    text-align: start;
  }

  .footer-contact ul,
  .footer-brands,
  .footer-icons {
    justify-content: flex-start;
  }

  .platform-container,
  .ecotech-container,
  .facilities-container {
    overflow: hidden;
  }

  a.scroll-indicator.ecotech-model.aos-init.aos-animate {
    left: 5%;
  }
}


@media (max-width: 1366px) {
  .top img {
    top: 0px;
  }

  .top {
    overflow: hidden;
  }

  .facilities-content h2,
  .platform-content h2,
  .ecotech-left h2,
  .gree-heading,
  .heading {
    font-size: 51.1px;
  }

  .circular-facilities {
    padding: 5% 5% 7% 5%;
  }

  .scroll-indicator.meetGree {
    left: 0;
    top: 60px;
  }

  .scroll-indicator.ecotech-model {
    left: -5%;
    top: -13%;
  }

  .scroll-indicator.intro {
    top: 0;
    left: -58px;
  }

  /* .scroll-indicator.herosc {
    left: -175%;
    top: 284px;
  } */

  .facility-zero-wate p {
    line-height: 1.1;
  }

  .footer-container {
    gap: 4rem;
  }

  .footer-mob {
    gap: 4rem;
  }
}


@media (max-width: 768px) {
  .hero {
    min-height: calc(90vh - 250px);
  }

  .text-content {
    top: 40%;
  }

  .scroll-indicator.herosc {
    left: -55%;
    top: 215px;
  }

  .intro {
    padding: 10% 7% 0 7%;
  }

  .features-wrapper {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .scroll-indicator.intro {
    top: -88px;
    left: 18px;
  }

  .ecotech-container {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .ecotech-model {
    padding: 0% 7% 30% 7%;
  }

  a.scroll-indicator.ecotech-model.aos-init.aos-animate {
    left: 4%;
  }

  .gree-text img {
    height: 50px;
    margin-top: 0.5rem;
    margin-bottom: -0.4rem;
  }

  .gree-subheading {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .gree-image img {
    max-height: 360px;
  }

  .gree-image {
    width: 100%;
  }

  .footer-right {
    /* flex-direction: column; */
    gap: 30px;
  }

  .gree-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .footer-map {
    position: relative;
  }

  .footer-map iframe {
    width: 186px;
    height: auto;
    margin-left: 3.5rem;
    /* margin-top: 10px; */
    margin-bottom: 0rem;
  }

  .ecotech-right .greenshare-ecotech {
    max-width: 100%;
  }

  .circular-facilities {
    padding: 0 7%;
  }

  .footer-mob {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    justify-content: space-between;
    flex-direction: column;
  }

  img.greenshare_img {
    height: 25px;
    margin-top: 2px;
  }

  .footer {
    padding: 7% 7% 15% 7%;
  }

  .footer-mob {
    gap: 1rem;
  }

  img.greenshare_img {
    height: 22px;
  }

  .footer-map img {
    width: 209px;
  }

  .footer-icons {
    gap: 10px;
  }

  .footer-icons {
    margin-top: 1rem;
  }
}

/* iOS Specific Adjustments */
@supports (-webkit-touch-callout: none) {

  /* Safari/iOS specific CSS */
  body {
    /* Prevent elastic scrolling */
    overscroll-behavior-y: contain;
  }

  .hero {
    min-height: -webkit-fill-available;
  }

  /* Fix for Safari rendering issues */
  .bg-graph,
  .globe-container {
    transform-style: preserve-3d;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .scroll-indicator img {
    height: 35px !important;
  }

  .navbar {
    /* padding: 35px 5% !important; */
    padding: 35px 5% 5px 5% !important;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .logo img {
    height: 60px;
  }

  .greenshare img {
    /* width: 100%; */
    height: 20px;
    object-fit: contain;
  }

  .bg-graph img {
    /* width: 100%; */
    /* display: none; */
    width: 95%;
    top: -25px;
    left: 6px;
    position: absolute;
  }

  .hero {
    min-height: 50vh;
    /* min-height: 44vh; */
    align-items: center;
    padding: 0%;
    flex-direction: row;
    margin: 0;
  }

  .top {
    display: none;
  }

  /* .text-content {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 5rem;
    padding: 0 5%;
  } */


  .heading {
    font-size: 1.4rem;
  }

  /* .scroll-indicator.herosc {
    display: none;
  } */

  .scroll-indicator.herosc {
    left: -85%;
    top: 185px;
  }

  .scroll-indicator.herosc img {
    height: 30px !important;
  }

  .globe-container {
    width: max-content;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
  }

  .globe {
    width: 130%;
    opacity: 1;
  }

  .ecotech-right {
    margin-top: 0rem;
  }

  .ecotech-model {
    padding: 0% 5%;
    min-height: inherit;
  }

  .ecotech-left h2 {
    margin-top: 0;
  }

  .bg-graph {
    display: none;
  }

  /* .hero::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 3px;
    width: 100%;
    height: 100%;
    background-image: url('../img/deck-bg-mobile.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
  } */
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 3px;
    width: 100%;
    height: 100%;
    background-image: url('../img/top-mob.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
  }

  .intro {
    padding: 5% 5% 0 5%;
    overflow-x: hidden;
  }

  .intro p {
    font-size: 16px;
  }

  .features-wrapper {
    margin-top: 2rem;
  }

  .features-grid {
    gap: 10px;
  }

  /* .feature-box img {
    height: 90px;
  } */
  .feature-box img {
    height: 100px;
  }

  .feature-box p {
    font-size: 11px;
  }

  .commitment-img {
    display: none;
  }

  .commitment-img-mob {
    display: block;
  }

  .scroll-indicator.intro {
    top: -45px;
    left: 18px;
  }

  .meet-gree {
    padding: 0% 5% 0 5%;
  }

  .scroll-indicator.meetGree {
    top: 0;
    left: 20px;
  }

  .ecotech-model {
    padding: 0 5% 0 5%;
  }

  .scroll-indicator.ecotech-model {
    left: 4%;
    top: 14px;
  }

  a.scroll-indicator.ecotech-model.aos-init.aos-animate {
    left: 5.5%;
  }

  .ecotech-platform {
    padding: 10% 5% 30% 5%;
  }

  .circular-facilities {
    padding: 0% 5% 10% 5%;
  }

  .platform-phone {
    padding: 0 5%;
  }

  .platform-right.mobile-mode img {
    /* margin-top: 1rem; */
    max-width: 235px;
  }

  .facilities-right.mobile-mode img {
    width: 100%;
    margin-top: 0rem;
  }

  .facilities-content h2,
  .platform-content h2,
  .ecotech-left h2,
  .gree-heading,
  .heading {
    font-size: 1.9rem;
  }

  .facilities-content h2 {
    /* margin-top: 10px; */
  }

  .facility-cross img {
    margin: 1rem 0;
    height: 40px;
  }

  .gree-image img {
    max-height: 335px;
  }

  .gree-subheading {
    font-size: 1rem;
  }

  .stream {
    padding: 1rem 0 0 0;
  }

  .stream.non-hazardous.mobile-mode img {
    width: 75%;
  }

  .waste-streams {
    gap: 0rem;
  }

  .facilities-content p {
    margin-bottom: 2rem;
  }

  .facility-zero-wate p {
    font-size: 16px;
    line-height: 1.1;
  }

  .facility-zero-wate span {
    font-size: 24px;
  }

  .facility-zero-wate img {
    height: 34px;
  }

  .facilities-container {
    overflow: inherit;
  }

  .stream.hazardous {
    max-width: 100%;
    margin-bottom: 0rem;
  }

  .scroll-indicator.left-icon {
    left: 6%;
    top: 75px;
  }


  .footer {
    padding: 7% 5% 50% 5%;
  }

  .footer-logo img {
    max-width: 240px;
  }

  .footer-container {
    gap: 1rem;
  }

  .footer-contact h3 {
    margin-top: 5px;
  }

  .footer-social h3 {
    margin-bottom: 0rem;
  }

  .footer-mob {
    gap: 2rem;
  }

  .footer-right {
    flex-direction: column;
    gap: 0;
  }

  .footer-map img {
    margin-bottom: 1rem;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }

  .intro {
    padding: 30% 5% 0 5%;
  }

  .meet-gree {
    padding: 3% 5% 20% 5%;
  }

  .text-content {
    margin-top: 10%;
  }

  .globe-container {
    top: -85px;
  }
}