@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html{
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}
body {
  background: #fff;
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 60px;
}
.section {
  height: 100vh;
  scroll-snap-align: start;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}
.service-tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}
.service-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.vertical-tab {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  cursor: pointer;
}
.nav-item.active {
  font-weight: bold;
  color: #f97316;
  border-bottom: 2px solid #f97316;
}
.home-tab,
.service-tab-heading,
.service-tab {
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}
.home-tab.active,
.service-tab-heading.active,
.service-tab.active {
  font-weight: bold;
  color: #f97316;
}
.sec-home {
  position: relative;
  overflow: hidden;
}
.sec-home-bg {
  background-image: url(../images/home-sec-bg-1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.8s ease;
  will-change: transform;
  width: 140%;   /* increased to avoid white edges */
  height: 140%;  /* increased to avoid white edges */
  top: -20px;
  left: -20px;
  position: absolute;
  z-index: 0;
}

@keyframes zoomRotate {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.05) rotate(1deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}
.sec-home.animate-bg {
  animation: zoomRotate 3s ease-in-out;
}
.bg-dark{
  background: #000000 0% 0% no-repeat padding-box;
  opacity: 0.7;
}
.bg-primary{
  background: #FF6600 0% 0% no-repeat padding-box;
  opacity: 1;
}
.txt-primary{
  color: #FF6600 !important;
}
.txt-secondary{
  color: #FFA200 !important;
}
@keyframes slide-in-left {
  0% {
    transform: translateX(-100%) translateY(-50%);
    opacity: 0;
  }
  100% {
    transform: translateX(0) translateY(-50%);
    opacity: 1;
  }
}
.animate-slide-in-left {
  animation: slide-in-left 0.6s ease-out forwards;
}
.btn-letstalk{
  left:-70px;
  width: 247px;
}
.bg-orange-500{
  background: #FF6600 0% 0% no-repeat padding-box;
  opacity: .8;
}
.bg-orange-700{
  background: #FF6600 0% 0% no-repeat padding-box;
  opacity: 1;
}
.bg-dark{
  background: #272727 0% 0% no-repeat padding-box;
  opacity: 1;
}
.bg-exp-700{
  background: #1D4E77 0% 0% no-repeat padding-box;
  opacity: 1;
}
.bg-dark-blue{
  background: #042D4D 0% 0% no-repeat padding-box;
  opacity: 1;
}
.vertical-tab{
  background: #4D4D4D;
  border-radius: 10px 0px 0px 10px;
  opacity: 1;
  font: normal normal 300 16px/28px Barlow;
  color: ffffff;
  padding: 20px 7px;
  margin: 1px 0px;
}
.vertical-tab.active{
  background: #FF6600;
}
.btn-connect{
  background: transparent linear-gradient(270deg, #FF6600 0%, #0F0F0F 100%) 0% 0% no-repeat padding-box;
  opacity: 0.6;
}
.btn-connect.active{
  background: transparent linear-gradient(270deg, #FF6600BF 0%, #0F0F0F 100%) 0% 0% no-repeat padding-box;
  opacity: 1;
}
.btn-download{
  background-image: url(../images/download.svg);
  width: 96px;  
  height: 24px;
}
.dot {
  width: 6px;
  height: 6px;
  background-color: orange;
  border-radius: 50%;
  display: inline-block;
}
.flip-card {
  perspective: 1000px;
}
.flip-inner {
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}
.flip-front, .flip-back {
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
}
.flip-back {
  transform: rotateY(180deg);
}
.flip-front img{
  filter: grayscale(100%);
}
.sec-life{
  background-image: url(../images/careers-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
.sec-experience{
  background-image: url(../images/sec-bg-experience.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
.sec-endorsement, .sec-news {
  background-image: url(../images/sec-bg-endorsement.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
#map 
{
  width: 100%;
  height: 100%;
}
.leaflet-container {
  background: transparent !important;
}

@media (max-width: 640px) {
  .mobile-slide-in {
    top: auto !important;
    bottom: -4rem;
    left: 50%;
    transform: translateX(-50%);
    animation: slide-in-bottom 0.6s ease-out forwards;
  }
}

@keyframes slide-in-bottom {
  0% {
    bottom: -4rem;
    opacity: 0;
  }
  100% {
    bottom: 1.5rem;
    opacity: 1;
  }
}

/*Smooth zoom / fade for home tabs*/


.sec-home {
  position: relative;
  overflow: hidden;
}

.sec-home .tab-content {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  /* No transform here */
  transition: opacity 1.2s ease-in-out; /* Only fade */
}

.sec-home .tab-content.active {
  opacity: 1;
  pointer-events: auto;
}

.sec-home .tab-content.tab-smooth {
  opacity: 0;
  transform: scale(0.98); /* slightly smaller */
  pointer-events: none;
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.sec-home .tab-content.tab-smooth.active {
  opacity: 1;
  transform: scale(1); /* full size */
  pointer-events: auto;
}

.tab-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow-auto;
}

.sec-home .sec-home-bg { z-index: 0; }

@media (max-width: 767px) {
  .sec-home .tab-content {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: none !important;
  }
}

