@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  font-family: "Poppins", sans-serif;
}

body {
  font-family: 'Onest', sans-serif;
}


.marcellus-font {
  font-family: "Marcellus", serif;
}

.montserrat-font {
  font-family: "Montserrat", serif;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}


@media (min-width: 500px) {
  .container,
  .container-sm {
    max-width: 500px;
  }
}

@media (min-width: 768px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

.svg {
  height: auto !important;
  width: auto !important;
}

.sidebarMobile {
  display: block;
  position: fixed;
  left: 0%;
  top: 0%;
  width: 70%;
  height: 100%;
  box-shadow: 0 2px 10px #ccc;
}

.sidebar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000093;
  z-index: 20;
  display: block;
}

.sidebarMobile .nav-menu {
  padding: 20px;
  display: inline-block !important;
}

:focus-visible {
  outline: -webkit-focus-ring-color auto 0px;
}

table tr td,
table tr th {
  border: 1px solid #000;
}

body {
  scroll-behavior: smooth;
}

.top-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0px;
  width: 0;
  height: 0;
  border-top: 50px solid transparent;
  border-bottom: 0px solid white;
  border-right: 0px solid transparent;
  border-left: 108px solid white;
}

.footer-sec {
  background-image: url(assets/footer-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.blink {
  animation: blink-animation 1s steps(5, start) infinite;
  -webkit-animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

/* Ensure slick-slide takes up full width */
.slick-slide {
  margin: 0;
  /* Ensure no margin between slides */
  width: 100%;
  /* Take full width of the container */
}

/* Ensure slick-list and slick-track take full height */
.slick-list,
.slick-track {
  height: 100%;
  justify-content: center;
}

/* Ensure slick-slide div takes full height */
.slick-track .slick-slide div:first-child {
  height: 100%;
}

/* Hide navigation arrows */
.slick-prev,
.slick-next {
  display: none !important;
}

/* Adjust spacing and overflow settings */
.slick-list {
  margin: 0;
  /* Ensure no margin */
  padding: 0;
  /* Ensure no padding */
  overflow: hidden;
  /* Hide overflow */
}

/* Slider bar styles */
.slider-bar {
  -webkit-appearance: none;
  appearance: none;
  width: 80%;
  height: 1px;
  background: #151165;
  outline: none;
  opacity: 1;
  transition: opacity 0.15s ease-in-out;
  border-radius: 4px;
}

.slider-bar:hover {
  opacity: 1;
}

/* For Webkit browsers (Chrome, Safari) */
.slider-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  /* Remove default styling */
  appearance: none;
  width: 20px;
  height: 20px;
  background: #253251;
  /* Thumb color */
  cursor: pointer;
  border-radius: 50%;
}

/* For Firefox */
.slider-bar::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #253251;
  /* Thumb color */
  cursor: pointer;
  border-radius: 50%;
}

/* For Internet Explorer */
.slider-bar::-ms-thumb {
  width: 20px;
  height: 20px;
  background: #253251;
  /* Thumb color */
  cursor: pointer;
  border-radius: 50%;
}

/* Custom scrollbar height */
.rsw-ce {
  height: 400px;
  max-height: 400px;
  overflow-y: scroll !important;
}

/* Slick dots positioning */
.slider-2 .slick-dots {
  position: absolute;
  bottom: auto;
  display: block;
  width: 10%;
  padding: 0;
  margin: 0;
  list-style: none;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.slider-2 .slick-dots li {
  position: relative;
  display: block;
  width: 20px;
  height: 70px;
  margin: 10px 5px;
  padding: 0;
  cursor: pointer;
}

.slider-2 .slick-dots li button:before {
  font-family: "slick";
  font-size: 6px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 60px;
  content: "";
  opacity: 0.25;
  background-color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slider-2 .slick-dots li.slick-active button:before {
  opacity: 1;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.showcase-sec .slick-slide.slick-center.slick-current {
  transform: scale(1.15);
  transition: all 1s ease-in;
}

.awards-thumb-inner {
  position: relative;
}

.selected .awards-thumb-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #ff8e1870;
  z-index: 99;
}

.awards-thumb:hover .awards-thumb-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #ff8e1870;
  z-index: 99;
}

.news-sec .slick-list {
  padding-bottom: 30px !important;
}

.certi-sec .slick-slide .slick-img {
  position: relative;
}

.certi-sec .slick-slide .slick-img::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #e4e4e49d;
  z-index: 99;
}

.certi-sec .slick-slide.slick-center.slick-current .slick-img::before {
  background-color: transparent;
}

@media screen and (max-width: 1024px) {
  .footer-sec {
    background-image: none;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
  }
}

/* For Webkit browsers like Chrome, Safari */
.hide-arrows::-webkit-outer-spin-button,
.hide-arrows::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
.hide-arrows[type="number"] {
  -moz-appearance: textfield;
}

.slider-slide1 {
  transition: opacity 0.5s ease-in-out;
}

.aboutUsBg {
  background-image: url("./assets/aboutUSBG.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.visionBg {
  background-image: url("./assets/missing_left_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.missionBg {
  background-image: url("./assets/mission_right_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.vision_blue_bg {
  background-image: url("./assets/our_vision_blue.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.mission_blue_bg {
  background-image: url("./assets/our_mission_blue.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.historyBg {
  background-image: url("./assets/historyImg.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.custom-select {
  -webkit-appearance: none; /* For Safari */
  -moz-appearance: none; /* For Firefox */
  appearance: none; /* For modern browsers */
  padding-right: 2.5rem; /* Add space for the custom arrow */
  background-image: url("./assets/select-inner-icon.svg"); /* Set your custom arrow image */
  background-repeat: no-repeat;
  background-position: right 10px center; /* Position the arrow */
  background-size: 16px 16px; /* Set the size of the arrow */
  cursor: pointer; /* Change cursor to pointer */
}



.number-border {
  -webkit-text-stroke: 1px white;
}



/* Homepage: 3c’s section animations  */


@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(200px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animations */
.animate-fade-right {
  animation: fadeRight 0.5s ease-in-out forwards;
}

.animate-fade-left {
  animation: fadeLeft 0.5s ease-in-out forwards;
}

.animate-fade-up {
  animation: fadeUp 0.5s ease-in-out forwards;
}

.animate-fade-down {
  animation: fadeDown 0.5s ease-in-out forwards;
}

.animate-zoom-in {
  animation: zoomIn 0.5s ease-in-out forwards;
}


.hidden-opacity {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* transforming section */

@keyframes zoomIn2 {
  from {
    opacity: 0;
    transform: scale(0.1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeRight2 {
  from {
    opacity: 0;
    transform: translateX(-200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeLeft2 {
  from {
    opacity: 0;
    transform: translateX(200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-zoom-in-2 {
  animation: zoomIn2 0.7s ease-in-out backwards;
  animation-delay: 1.5s;
}

.animate-fade-right-2 {
  animation: fadeRight2 0.7s ease-in-out forwards;
  animation-delay: 1.5s;
  opacity: 0;
}

.animate-fade-left-2 {
  animation: fadeLeft2 0.7s ease-in-out backwards;
  animation-delay: 1.5s;
}

.slider-slide1 {
  transition: opacity 0.5s ease-in-out;
} 


/* banner section */


@keyframes fadeRight3 {
  from {
    opacity: 0;
    transform: translateX(-200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeLeft3 {
  from {
    opacity: 0;
    transform: translateX(200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@keyframes zoomIn3 {
  from {
    opacity: 0;
    transform: scale(0.1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes flipUp3 {
  from {
    opacity: 0;
    transform: rotateX(90deg) translateY(30px);
  }
  to {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
  }
}



.animate-fade-right-3 {
  opacity: 0;
  animation: fadeRight3 0.7s ease-in-out forwards;
  animation-delay: 1s;
}

.animate-fade-left-3 {
  opacity: 0;
  animation: fadeLeft3 0.7s ease-in-out forwards;
  animation-delay: 1s;
}

.animate-zoom-in-3 {
  animation: zoomIn3 0.7s ease-in-out backwards;
  animation-delay: 1s;
}

.animate-flip-up-3 {
  animation: flipUp3 0.7s ease-in-out backwards;
  animation-delay: 1s;
}


.animate-fade-right-4 {
  animation: fadeRight 0.7s ease-in-out forwards;
  animation-delay: 1.5s;
  opacity: 0;
}

.animate-fade-right-4-new {
  animation: fadeRight2 0.7s ease-in-out forwards;
  animation-delay: 2.5s;
  opacity: 0;
}


.animate-fade-left-4 {
  animation: fadeLeft 0.7s ease-in-out backwards;
}

.animate-fade-up-4 {
  animation: fadeUp 1s ease-in-out forwards;
}


@media (max-width: 499px) {
  .dot-banner {
    font-size: 1rem; /* Adjust as needed */
    vertical-align: bottom;
  }  
}

@media (min-width: 500px) {
  .dot-banner {
    font-size: 2rem; /* Adjust as needed */
    vertical-align: bottom;
  }  
}


.innovation-slide {
  transition: transform 1s ease-in, opacity 0.7s ease-in;
}

/* Spacing and scaling adjustments */
.side-image {
  transform: scale(0.75);
  opacity: 0.6;
}

.side-image-large {
  transform: scale(0.9);
  opacity: 0.8;
}

.center-image {
  transform: scale(1);
  z-index: 10;
}


.complexChallenge-dots {
  position: absolute;
  bottom: 60px;
  display: flex !important;
  justify-content: center;
  width: 100%;
}

.complexChallenge-dots li {
  margin: 0 0.3rem; 
}

/* Style for the active dot */
.complexChallenge-dots li.slick-active {
  width: 3rem;                 
}

.complexChallenge-dots li.slick-active div {
  background: linear-gradient(to bottom, #1F77D2, #132C3A); /* Active dot with gradient */
  width: 3rem;                 
  height: 8px;
  padding: 0 0.5rem;
}



.leadership-slick-dots {
  display: flex !important;     /* Force dots into a row */
  justify-content: center;      /* Center the dots */
  column-gap: 20px;                  /* Add space between dots */
  margin-top: 20px;              /* Add some spacing above the dots */
  padding: 0;
  list-style: none;              /* Remove bullet points */
}

.leadership-slick-dots li {
  display: inline-flex;          /* Display dots in a row */
  align-items: center;
  justify-content: center;
}

.leadership-slick-dots li button {
  font-size: 0;                  /* Hide the default numbers */
  width: 10px;                    /* Size of the dot */
  height: 10px;                   /* Size of the dot */
  border-radius: 50%;             /* Make it circular */
  background-color: #ccc;         /* Inactive dot color */
  transition: background 0.3s;
  border: none;                   /* Remove button border */
  cursor: pointer;  
}

.leadership-slick-dots li.slick-active button {
  background: linear-gradient(to bottom, #1F77D2, #132C3A); /* Active dot with gradient */
  width: 10px;                  /* Slightly larger active dot */
  height: 10px;
}

.leadership-slick-dots li button:hover {
  background-color: #1F77D2;     /* Hover color */
}




/* testimonail homepage banner */


.testimonial-slick-dots {
  display: flex !important;     /* Force dots into a row */
  justify-content: start;      /* Center the dots */
  column-gap: 20px;                  /* Add space between dots */
  margin-top: 20px;              /* Add some spacing above the dots */
  padding: 0;
  list-style: none;              /* Remove bullet points */
}

.testimonial-slick-dots li {
  display: inline-flex;          /* Display dots in a row */
  align-items: center;
  justify-content: center;
}

.testimonial-slick-dots li button {
  font-size: 0;                  /* Hide the default numbers */
  width: 10px;                    /* Size of the dot */
  height: 10px;                   /* Size of the dot */
  border-radius: 50%;             /* Make it circular */
  background-color: #ccc;         /* Inactive dot color */
  transition: background 0.3s;
  border: none;                   /* Remove button border */
  cursor: pointer;  
}

.testimonial-slick-dots li.slick-active button {
  background: linear-gradient(to bottom, #1F77D2, #132C3A); /* Active dot with gradient */
  width: 10px;                  /* Slightly larger active dot */
  height: 10px;
}

.testimonial-slick-dots li button:hover {
  background-color: #1F77D2;     /* Hover color */
}

/* certificates section */


@media (max-width: 499px) {
  
.innovation-img-small {
  width: 200px;
  height: 100px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.7s, opacity 0.7s;
}

.innovation-img-large {
  width: 200px;
  height: 100px;
  border-radius: 12px;
  transition: transform 0.7s, opacity 0.7s;
}

.innovation-img-center {
  width: 400px;
  height: 200px;
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  transition: transform 0.7s, opacity 0.7s;
}


.innovation-slide {
  opacity: 0.9;
  transform: scale(0.95);
}

.innovation-center-slide {
  transform: scale(1.1);
  opacity: 1;
}

}


@media (min-width:500px) and (max-width: 767px) {
  
  .innovation-img-small {
    width: 200px;
    height: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.7s, opacity 0.7s;
  }
  
  .innovation-img-large {
    width: 300px;
    height: 220px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.7s, opacity 0.7s;
  }
  
  .innovation-img-center {
    width: 500px;
    height: 300px;
    border-radius: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    transition: transform 0.7s, opacity 0.7s;
  }
  
  
  .innovation-slide {
    opacity: 0.9;
    transform: scale(0.95);
  }
  
  .innovation-center-slide {
    transform: scale(1.1);
    opacity: 1;
  }
  
  }
  


@media (min-width: 768px) {
  
.innovation-img-small {
  width: 300px;
  height: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.7s, opacity 0.7s;
}

.innovation-img-large {
  width: 300px;
  height: 220px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.7s, opacity 0.7s;
}

.innovation-img-center {
  width: 500px;
  height: 300px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.7s, opacity 0.7s;
}


.innovation-slide {
  opacity: 0.9;
  transform: scale(0.95);
}

.innovation-center-slide {
  transform: scale(1.1);
  opacity: 1;
}

}


@media (min-width: 1024px) {
  
.innovation-img-small {
  width: 200px;
  height: 150px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.7s, opacity 0.7s;
}

.innovation-img-large {
  width: 300px;
  height: 220px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.7s, opacity 0.7s;
}

.innovation-img-center {
  width: 500px;
  height: 300px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.7s, opacity 0.7s;
}


.innovation-slide {
  opacity: 0.9;
  transform: scale(0.95);
}

.innovation-center-slide {
  transform: scale(1.1);
  opacity: 1;
}

}


.outline-text {
  color: transparent; /* Make the text fill transparent */
  -webkit-text-stroke: 1px #2C74BC; /* Outline stroke */
}

.careers-slider {
  width: 100%;
  margin: auto;
}

.careers-slider .slick-slide {
  margin: 0 10px; /* Space between slides */
}

.slick-list {
  margin: 0 -10px; /* Prevents layout shift */
}


.hydraulic-slide {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0.7;
}

/* Active Slide (Bigger & Full Opacity) */
.hydraulic-slider .slick-current {
  transform: scale(1);
  opacity: 1;
}

/* Second Slide (Smaller & Dimmed) */
.hydraulic-slider .slick-current + .slick-slide {
  transform: scale(0.7);
  opacity: 1;
}


#innovation-wrapper {
  user-select: none;
}

  .scrollbar-hide::-webkit-scrollbar {
    display: none;
  }

  .scrollbar-hide {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }