body{
    overflow-y:auto;
}
/*Top Section*/
.services .top-section video{
  opacity:0.6;
}
.services .industry-expertise .section-content p{
  width:80%;
}
.services .industry-expertise .section-content a{
  text-decoration:none;
}
.services .hero-section .cta{
  margin-top:5%;
}
/*Industry Expertise*/
.industry-expertise {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 100vh; 
  justify-content: center;
}
.images-section {
  flex: 1;
  height: 100vh;
  background-size: contain;    
  background-position: left center;
  background-repeat: no-repeat;
  background-attachment: fixed; 
}
.images-section img {
  width: 100%;
  height: 100%;
  object-fit: contain;       
  object-position: left;  
  display: block;
  transform: translateY(var(--parallax-offset, 0));
  transition: transform 0.1s linear;
}
.industry-expertise .section-content{
    width:60%;
    margin-left:10%;
    z-index:2;
}
.industry-expertise .section-content h3{
  margin-bottom:1.75rem;
}
.industry-expertise .section-content h4{
  margin-bottom:0.5rem;
}
.industry-expertise .section-content p{
  margin-bottom:1.5rem;
  font-weight:300;
}
/*Roles Covered*/
.roles-covered{
  height:100vh;
  width:100vw;
}
.roles-covered h2{
  margin: 12% 15%;
  margin-bottom:3%;
}
.roles-container{
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  grid-auto-rows: auto;  
  gap: 50px;
  width:80%;
  margin-left:15%;
}
.role{
  margin-bottom:5%;
  width:80%;
  height:auto;
  justify-content: center;
}
.role p{
  margin-top:3%;
  line-height:1.5;
}
.role-heading {
  display: flex;
  flex-direction:row;
}
.role-heading img{
  width:7%;
  height:auto;
  object-fit: contain;
  margin-right:2%;
}
/*For Teams and Talent*/
.for-teams-and-talent {
  display: flex;
  width: 100vw;
  height: 100vh; 
  gap:3rem;
}
.for-teams-and-talent h5{
  font-size: clamp(0.95rem, 1vw, 1.12rem);
  letter-spacing:0.2px;
}
.mobile-drop-arrow img{
  display:none;
}
.left-panel {
  position: sticky;
  top: 0;
  height: 100vh; 
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 45%;
  align-items: flex-start;
  padding-left: 5rem;
  line-height:0.8rem;
}
.right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 95%;
  position: relative;
}
.teams-section,
.talent-section {
  height: 100vh;
  padding: 2rem;
  position: relative;
}
.label h6 {
  font-size: clamp(0.7rem, 0.7vw, 0.81rem);
  font-weight: var(--semi-bold);
  transition: transform 0.4s ease, font-weight 0.4s ease;
  opacity: 1;
  transform-origin: left center;
}
.label.active h6 {
  transform: scale(2);
}
.right-panel .sections-container {
  display: flex;
  flex-direction: row;
  gap: 3%;
  width:115%;
  margin-top:5%;
  margin-left:-4%;
}
.right-panel .section {
  width: 35%;
  background-color: #111827;
  border-radius: 40px;
  color: white;
  border: solid 2px #111827;
  padding: 4% 4%;
}
.mobile-heading{
  display:none;
}
.right-panel .section h5 {
  white-space: nowrap;
  margin-bottom: 8%;
}
.right-panel .section ul {
  margin-top: 8%;
  font-weight:var(--light-weight);
}
.right-panel .sections-container ul{
    padding-left:15%;
}
.mobile-link{
  display:none;
}
.content-section {
  position: absolute;
  top: 15%;
  left: 0%;
  width: 80%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.40s cubic-bezier(.77,0,.18,1), 
    transform 0.50s cubic-bezier(.77,0,.18,1);
  min-height: 100vh;
  z-index: 0;  
}
.content-section p,
.content-section li {
  font-size: clamp(0.7rem, 0.7vw, 0.81rem);
}
.content-section h5,
.content-section p {
  margin-bottom: 2.5%;
}
.content-section.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
  transition-delay: 0s;  
  z-index: 2;
}
.section-division{
  display:flex;
  flex-direction:row;
  gap:2rem;
  margin-left:-2.5%;
} 

.section-division .section{
  background-color:white;
  color:black;
  border:none;
  width:40%;
}
.section-division .section h5{
  white-space:normal;
}
.section-division .section li{
  margin-bottom:5%;
}
.section-division #section-2{
  background-color: #111827;
  border:2px solid #111827;
  color:white;
  height:fit-content;
  padding-top:2%;
  margin-top:5%;
  padding-inline:5%;
  padding-left:7%;
}
.section-division #section-2 h5{
  font-weight:var(--light-weight);
  line-height:1.3rem;
}
.mobile-header{
  display:none;
}
.mobile-subheading{
  display:none;
}
/*Mobile and Tablet Styles*/
@media (max-width:1024px){
  body{
    width:100vw;
    overflow-x:hidden;
  }
    .services .hero-wrapper{
        min-height:100vh;
        width:100vw;
    }
    .services .hero-section h1 {
        line-height: 1.1;
        max-width: 75%;                   
        margin: 0 auto;                
        text-align: center;
        white-space: normal;         
    }
    .services .hero-section h5{
        margin-top:2%;
        width:65% !important;
    }
    .for-teams-and-talent .right-panel{
        transform:scale(0.75);
        width:100%;
    }
    .for-teams-and-talent .left-panel{
        padding-left:8%;
        width:15%;
    }
    .for-teams-and-talent .content-section{
        width:100%;
    }
    .for-teams-and-talent .sections-container{
        width:115%;
    }
    .for-teams-and-talent .section h4{
        font-size: clamp(18px, 2.2vw, 30px);
        line-height: 1.3;
        letter-spacing: 0.02em;
        font-family: "Poppins", sans-serif;
        font-weight: var(--semi-bold);
    }
}

/*Mobile Only*/
@media(max-width:768px){
  .services .hero-section h1 {
    font-size: clamp(48px, 8vw, 110px);
  }
  .services .hero-section h5{
    width:78%;
  }
  .for-teams-and-talent{
    width:100vw;
    overflow:hidden;
    margin-left:0;
    padding-left:0;
    height: auto;
  }
  .for-teams-and-talent .left-panel{
    display:none;
  }
  .for-teams-and-talent .right-panel{
    margin-left:0 !important;
    padding-left:0 !important;
    width:100vw;
    text-align:center;
    position: static; 
    justify-content:center;
    align-items:center;
  }
  .for-teams-and-talent .sections-container {
    width: 100% !important;
    padding: 0 !important;
    margin-left:0.5%;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    justify-content:center;
    align-items:center;
  }
  .for-teams-and-talent .content-section{
    position: static !important;
        opacity: 1 !important;        /* Make sure all are visible */
    width: 100vw;
    min-height: auto;
    margin-bottom: 2rem;
    z-index: 1;
    transition: none !important;  /* Remove transitions, not needed when stacked */
    display: block;
  }
  .for-teams-and-talent .section{
    height:30%;
    width:100%;
    margin-inline:5%;
    border-radius:20px;
    text-align: left;
    padding:7%;
  }
  .for-teams-and-talent .section p, .for-teams-and-talent .section ul li{
    font-size: clamp(20px, 2.3vw, 32px);
  }
  .section ul li{
    margin-left:-5%;
  }
  #teams-content{
    margin-top:-60%;
  }
  #talent-content::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: -50vw;
    right: 0;
    background-color: #111827;
    z-index: -1; /* behind content */
    width: 200vw;
    margin-left: calc(-50vw + 50%);
  }
  #talent-content{
    color:white;
    padding-block:15%;
    margin-top:20%;
  }
  .mobile-heading{
    display:block;
    text-align:center;
    margin-bottom:8%;
    font-size:clamp(38px, 4.8vw, 69px);
  }
  .mobile-drop-arrow img{
    display:block;
    width:5%;
    margin-right:5%;
    margin-left:90%;
    margin-top:-5%;
  }
  .mobile-subheading{
    font-size: clamp(20px, 2.3vw, 32px);
    padding-right:20%;
    margin-top:0;
    padding-top:0;
  }
  .mobile-subheading{
    display:block;
  }
  .content-section h5{
    font-size: clamp(22px, 2.5vw, 34px);
    width:100%;
    margin-bottom:6%;
  }
  .content-section #intro-p{
    width:90%;
    margin-inline:auto;
    margin-bottom:10%;
    font-size: clamp(20px, 2.3vw, 32px);
  }
  .images-section{
    display:none;
    transform:0.2s ease;
  }
  .section-division{
    flex-direction: column;
    gap:1rem;
  }
  #talent-content .section{
    background-color:#244366;
    color:white;
    padding-inline:10%;
  }
  #talent-content .section ul{
    padding-left:15%;
  }
  .mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.77,0,.18,1);
    margin-top:10px;
  }
  .section.expanded .mobile-subheading{
    display:none;
  }
  .section.expanded .mobile-drop-arrow img {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
  }
  .mobile-link{
    display:block;
    margin-bottom:10%;
  }
  .mobile-link p{
    font-weight:var(--semi-bold);
    font-size: clamp(20px, 2.3vw, 32px);
  }  
  #talent-content .mobile-link{
    color:white;
    font-weight:var(--semi-bold);
    font-size: clamp(20px, 2.3vw, 32px);
  }
  .industry-expertise{
    width:100vw;
    margin-left:0;
    height:auto;
    margin-top:-20vh;
    margin-bottom:10vh;
  }
  .industry-expertise > .section-content,
  .industry-expertise > .images-section {
    max-width: 90vw;
    width: 100%;
    margin: 0 auto;
  }
  .industry-expertise .section-content{
    width:100vw;
    align-items:center;
    justify-content: center;
  }
  .industry-expertise h3{
    white-space:nowrap;
    text-align:center;
  }
  .industry-expertise .sections-container{
    width:100%;
    align-items:center;
    justify-content: center;
    margin-inline:auto;
    display:flex;
    flex-direction: column;
    gap:1rem;
  }
  .industry-expertise .industry-section{
    width:90%;
    margin-inline:auto;
    border-radius:20px;
    color:white;
    background-color: #111827;
    padding:5% 10%;
    background-size:cover;
    background-position:center center;
    position: relative; 
    overflow: hidden;   
    z-index:100;
  }
  .industry-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* black overlay with 40% opacity, adjust alpha as needed */
    pointer-events: none; /* let clicks go through */
    border-radius: inherit; /* match border radius if any */
  }
  .industry-section > * {
    position: relative;
    z-index: 2; /* bring all direct children above overlay */
  }
  .industry-section:nth-child(1){
    background-image:url('../assets/Services/industry-1.png');
  }
  .industry-section:nth-child(2){
    background-image:url('../assets/Services/industry-2.png');
  }
  .industry-section:nth-child(3){
    background-image:url('../assets/Services/industry-3.png');
  }
  .industry-expertise .industry-section p{
    width:100% !important;
    font-weight:var(--light-weight);
  }
  .industry-expertise .industry-section b{
    color:white;
  }
  .mobile-icon{
    display:block;
    width:12%;
    object-fit: contain;
  }
  .mobile-header{
    display:flex;
      align-items:center;
  }
  .mobile-header h4{
    margin-left:5%;
    margin-top:5%;
    white-space:nowrap;
    font-size: clamp(24px, 2.2vw, 36px);
  }
  .mobile-header .mobile-drop-arrow img{
    display:block;
    width:15px;
    object-fit:contain;
    position:absolute;
    right:0%;
    top:65%;
  }
  .industry-section .desktop-header{
    display:none;
  }
  .mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.77,0,.18,1);
    margin-top: 10px;
  }
  .industry-section.expanded .mobile-drop-arrow img {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
  }
  .roles-container{
    display:flex;
    flex-direction:column;
  }
  .roles-covered h2{
    margin-bottom:10%;
    text-align:center;
  }
}

/*Tablet Only*/
@media (min-width: 769px) and (max-width: 1024px) {
    .services .hero-section h1 {
        font-size: clamp(28px, 4vw, 56px);
    }
}