/* ===============================
   Responsive Typography Scale
================================ */

/* Base Heading Styles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 15px;
}

/* Responsive Font Sizes using clamp(min, preferred, max) */

h1 {
  font-size: clamp(28px, 5vw, 56px);
}

h2 {
  font-size: clamp(24px, 4vw, 44px);
}

h3 {
  font-size: clamp(20px, 3.2vw, 36px);
}

h4 {
  font-size: clamp(18px, 2.5vw, 28px);
}

h5 {
  font-size: clamp(16px, 2vw, 22px);
}

h6 {
  font-size: clamp(14px, 1.5vw, 18px);
}


/* Responsive */

@media (max-width: 1024px) and (min-width: 768px){
  .hero{
    min-height: 50vh;
    padding: 10px;
  }    
  .hero h1 {
        font-size: 60px;
    }
  .grid-4{
    grid-template-columns: repeat(2, 1fr);
  }
  .chart-wrap {
    padding: 10px;
    overflow: auto;
}
.grid-2-1 {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-direction: column;
}
.grid-35 {
    width: 100%;
}
.grid-65 {
    width: 100%;
}
.grid-65 img {
    width: 100%;
}
.temp-key-sec {
    background-color: #d5d4e1;
    padding: 40px 10px 0;
}
.who-worker {
    background-color: #d5d4e1;
    padding: 40px 10px 0;
}
.surveyTabs_grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-direction: column;
}
.migrationsec {
    background-color: #d5d4e1;
    padding: 40px 10px 0;
    color: #000;
}
.migrationsec .container {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    padding: 20px;
}
.top-20 {
    margin-top: 30px;
}
.exter-w-sec {
    background-color: #fff;
    padding: 40px 10px 0;
    color: #000;
}
.grid-2-2 {
    display: flex;
    gap: 30px;
    flex-direction: column;
}
.chart {
    margin-top: 20px !important;
    position: relative;
}
.impact-work-sec {
    background-color: #fff;
    color: #000;
    padding: 40px 10px 0;
}
.dw2{
  padding-bottom: 40px !important;
}
.stories-sec {
    background-color: #1B1941;
    padding: 40px 10px 0;
    padding-bottom: 20px;
}
.surveyTabs_grid{
    gap: 10px;
}
.qt-bx1 img {
    width: 40px;
    margin-left: -40px;
    margin-top: -40px;
    margin-bottom: 15px;
}
.bg2 {
    background-color: #d5d4e1;
    margin-top: 20px;
}
.surveyTabs_content{
  padding: 20px;
}
.apple-pie {
        min-height: 850px !important;
        background-color: #000;
    }
    .impact-house-gr .tab{
      width: 49%;
    }

}


@media (max-width: 767px) {
  .container{
    width:100%;
    max-width: 100%;
    padding: 0 10px;
  }

  .header-flex {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    min-height: 75vh;
  }

  .hero h1 {
    font-size: 55px;
  }

  .description {
    font-size: 16px;
  }

  .small-text {
    font-size: 14px;
  }
  
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
.hero{
  min-height: 50vh;
}
.anl-map-sec{
  padding: 30px 0;
}

.hero h1{
  width: 100%;
}
.chart-wrap {
    padding: 10px;
    overflow: auto;
}
.temp-key-grid2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin-top: 30px;
    grid-auto-flow: row;
    justify-items: center;
}
.temp-key-img{
  min-height: 500px;
}
.temp-key-bx p, .temp-key-img ph{
  font-size: 15px;
}
.surveyTabs_gender_wrap img {
    width: 100%;
}
.who-worker h2, .migrationsec h2, .impact-work-sec h2{
  font-size: 27px;
}
.gr-3x {
    display: grid;
    grid-auto-flow: row;
    gap: 20px;
}
.gr-2x {
    display: grid;
    grid-auto-flow: row;
    gap: 20px;
}
.dancing-bear {
  font-size: 1.8rem !important; 
  margin-bottom: 0px !important;
  margin-top: -27px;
  z-index: 1;
  padding: 20px 20px 10px 0;
  font-size: 20px !important;
}
.whispering-wind{
  padding: 60px 20px 10px !important;
  background-color: #1B1941;
}
.ft1, .ft2 {
  background-position: top right !important;
  background-size: 800px !important; 
  background-color: #000 !important;
}
.quates-bg1{
  padding: 20px !important;
}
.ft1 .magic-carpet{
  /* margin-top: -100px; */
  margin-top: 0px;
}
.m2{
  /* margin-top: 200px; */
  margin-top: 0px;
}
.sl-bg1{
  /* padding-bottom: 15px; */
  background-color: black;
}
.gr1bx-desc{
  text-align: center;
  margin-top: 5px;
}
.gr1tp-sec{
  gap: 5px;
}
.gr1bx-title{
  margin-bottom: 5px;
}
.impact-house-gr.bg2 .tab-content, .impact-house-gr .tab-content{
  padding: 20px;
}
.footer-sec p{
  font-size: 12px;
}

.btn-txt1{
    display: none;
  }   
  .download-btn {
        padding: 5px;
        border-radius: 50px;
    }
        .apple-pie {
        min-height: auto !important;
    }

.chart{
  margin-top: 15px !important;
}
.impact-work-sec{
  padding: 20px 0;
}

    .surveyTabs_grid {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-direction: column;
}
.surveyTabs_content {
    padding: 20px;
}
.migrationsec {
    padding: 20px 0;
    color: #000;
}
.migrationsec .container {
  padding: 20px;
}
.grid-2-1 {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-direction: column;
}
.grid-65, .grid-35 {
    width: 100%;
}
.grid-65 img {
    width:100%;
}
.top-20 {
    margin-top: 15px;
}
.grid-2-2 {
    display: flex;
    gap: 30px;
    flex-direction: column;
}
.chart{
  margin-top: 15px !important;
}
.impact-work-sec{
  padding: 20px 0;
}
.impact-house-gr .tab {
    width: 100%;
}



}


/* Tablet View */
@media (max-width: 1100px) {
    .gr1bx {
        width: calc(50% - 30px);
    }
    
.chartbg1{
  background-color: #fff;
  padding: 20px;
}
.gr1bx.l2x{
  width: 100% !important;
}
}

/* Mobile View */
@media (max-width: 768px) {
    .gr1bx {
        width: 100%;
        height: 300px;
    }
    .gr-3x {
        gap: 20px;
    }
    
.chartbg1{
  background-color: #fff;
  padding: 20px;
}
.gr1bx.l2x{
  width: 100% !important;
}
.gr-3x, .gr-2x {
    justify-content: normal;
}
}