* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(to right, #00aab6, #084556);

  overflow-x: hidden;
  font-family: sans-serif;
}

.navbarr {
  position: relative;
  margin-top: 10px;
}
.nav-btn {
  font-size: 15px;
}

.toggler {
  height: 30px;
}

.slide {
  position: absolute;
  top: 5%;
  right: 1%;
}

.slide-place {
  max-width: 850px;
  background: linear-gradient(to right, #00aab6, #084556);
}

.slide-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  margin: 10px;
  padding: 10px;
}

.slide-inner-btn {
  padding: 15px;
}

.cinu-image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.cinu-image img {
  max-width: 550px;
  width: 100%;
}

.cinu-image p {
  letter-spacing: 5px;
  margin-top: 50px;
  font-weight: bold;
  color: #fff;
  font-size: 20px;
}

.cinu-part {
  position: relative;
  overflow: hidden;
}

.cinu-img {
  width: 100%;
  clip-path: inset(0 0 19% 0);
  object-fit: cover;
  height: auto;
}

.cinu-part .cinu {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

.parent-imagess {
  width: 100vw;
  z-index: 1;
  position: absolute;
  top: 13%;
}

.swiper-slide img {
  transition: 0.4s ease;
  cursor: pointer;
  width: 55px;
  /* border: 2px solid; */
  border-radius: 50%;
  object-fit: cover;
}

.swiper-slide img:hover {
  transform: scale(0.9);
}

.swiper-wrapper {
  transition-timing-function: linear !important;
  /* Set linear animation */
}

.swiper-slide {
  transition: none;
  /* Disable default slide transitions */
}

.earth-num {
  color: #fff;
  height: 130px;
  width: 270px;
  border-radius: 20px;
  border: 4px solid #fff;
  background: linear-gradient(to right, #06c2cf, #006f8d);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: bold;
}

.earth-num .numbers-det {
  display: flex;
  align-items: center;
  /* gap: 1px; */
}
.earth-num img {
  width: 22px;
}

.earth-num .numbers {
  font-size: 20px;
}

.earth-num .det {
  font-size: 25px;
}

.about-part {
  margin-top: -65px;
}

.about-btn {
  display: flex;
  align-items: start;
  gap: 10px;
}

.about-btn button {
  max-width: 220px;
  width: 100%;
}

.flex.gap {
  gap: 20px;
}

.flex.between {
  justify-content: space-between;
}

.flex {
  display: flex;
}

.w-100 {
  width: 100%;
}

.bg-yellow-gradient {
  background: linear-gradient(to bottom, #06c2cf, #006f8d);
}

.usecinu > div {
  grid-gap: 5px;
  grid-column-gap: 20px;
  color: #fff;
  column-gap: 20px;
  cursor: pointer;
  display: grid;
  font-weight: 600;
  gap: 5px;
  grid-template-columns: repeat(2, 1fr);
  text-transform: uppercase;
}

.usecinu > div > div {
  border-bottom: 2px solid #fff;
  display: flex;
  justify-content: space-between;
  padding: 5px;
}

.usecinu p {
  font-size: 16px;
  font-weight: bold;
}

.bg-orange-gradient {
  background: linear-gradient(to top, #06c2cf, #006f8d);
}

.getcinu a {
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 1em;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

.mob-box > a > div {
  display: flex;
  align-items: center;
  gap: 25px;
  cursor: pointer;
}
.mob-box > a > div > p {
  margin-top: 13px;
}

.get-cinu-img {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 15px;
  column-gap: 10px;
}

.get-cinu-img img {
  height: 35px;
  width: 35px;
  border-radius: 50%;
}

.get-cinu-img p {
  font-size: 15px;
}

.platform {
  border-top: 4px solid #fff;
  padding: 50px;
}
.platform1 {
  border-top: 4px solid #fff;
}


.platform-part {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.key-proj {
  display: grid;
  /* grid-gap: 10px; */
  gap: 30px;
  grid-template-columns: repeat(4, 1fr);
}

.key-proj .button {
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  border-radius: 12px;
  border: 4px solid #fff;
}

.key-proj img {
  /* height: 95px;
 max-width: 150px ;
 width: 100%; */
  margin-bottom: 20px;
}

footer {
  background-color: rgb(0, 0, 36);
  border-top: 4px solid #fff;
  padding: 40px;
}

.footer-mar {
  margin-left: 85px;
}

.footer-a a {
  text-decoration: none;
  color: #fff;
}

.footer-last {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 25px;
}

@media only screen and (max-width: 500px) {
  .slide-place {
    width: 270px !important;
  }
  .toggler {
    height: 25px;
  }
  .cinu-image img {
    max-width: 195px;
  }

  .cinu-image p {
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: 25px;
  }
}

@media only screen and (max-width: 600px) {
  .platform-part {
    display: flex;
    flex-direction: column;
  }

  .parent-imagess {
    position: absolute;
    top: 1%;
  }

  .cinu-part {
    margin-top: 40px;
  }
  .cinu-part .cinu {
    gap: 20px;
  }

  .platforms {
    gap: 35px;
  }

  .cinu-img {
    width: 100%;
    clip-path: inset(0 0 10% 0);
  }

  .earth-num {
    border: 2px solid #fff;
    height: 58px;
    width: 96px;
    font-size: 8px;
  }

  .earth-num img {
    width: 11px;
  }

  .earth-num .numbers {
    font-size: 6px;
  }

  .earth-num .det {
    font-size: 7px;
  }

  .cinu-image img {
    width: 300px;
  }

  .cinu-image p {
    font-size: 15px;
    letter-spacing: 3px;
    margin-top: 30px;
  }
}

@media only screen and (min-width: 600px) and (max-width: 900px) {
  .earth-num {
    border: 2px solid #fff;
    height: 80px;
    width: 160px;
  }
  .earth-num img {
    width: 15px;
  }

  .earth-num .numbers {
    font-size: 11px;
  }

  .earth-num .det {
    font-size: 13px;
  }
  .cinu-image img {
    width: 340px;
  }

  .cinu-image p {
    font-size: 16px;
    letter-spacing: 3px;
    margin-top: 30px;
  }
}

@media only screen and (max-width: 900px) {
  .about-part {
    margin-top: 0px;
  }

  .about-btn {
    flex-direction: column;
    align-items: center;
  }
  .about-btn button {
    max-width: 580px;
  }

  .key-proj {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .mob-box {
    flex-wrap: wrap !important;
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 10px;
  }

  .swiper-slide img {
    width: 43px;
  }

  .footer-mar {
    margin-left: 0px;
  }
}

@media only screen and (max-width: 400px) {
  .key-projects img {
    max-width: 120px;
  }
}

/* key-projects-section */

.borderr {
  border-bottom: 4px solid #fff;
}

.key-projects img {
  max-width: 200px;
  width: 100%;
}

@media only screen and (max-width: 400px) {
  .key-projects img {
    max-width: 100px;
  }
}

/* integretion-section */
.grid {
  grid-gap: 20px;
  display: grid;
  flex-wrap: wrap;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  margin-top: 30px;
  transition: all 0.15s ease-in-out;
}
.grid-container {
  display: flex;
  gap: 10px;
}
.grid a {
  padding: 10px;
  color: #fff;
  text-decoration: none;
  border: 3px solid #fff;
  border-radius: 14px;
  background: linear-gradient(to right, #068089, #0babd7);
}
.grid h3 {
  text-transform: uppercase;
  font-weight: bold;
}
@media only screen and (max-width: 1500px) {
  .grid {
    grid-template: none;
  }
}

/* pop-up */
/* COLORS
========================================== */
.gray {
  background-color: #3e4146;
}
.blue {
  background-color: #689bf6;
}
.yellow {
  background-color: #ffd84c;
}
.orange {
  background-color: #f66867;
}
.purple {
  background-color: #8e6ac1;
}
.white {
  background-color: #ffffff;
}
.black {
  color: #000000;
}

/* ANIMATIONS
========================================== */
@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-30px) translateX(20px);
  }
  100% {
    transform: translateY(0px) translateX(0px);
  }
}

/* BUTTON
========================================== */
/* .button {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
} */

.pop-upp {
  position: relative;
}

.button h3 {
  font-size: 18px;
  font-weight: bold;
}

.button button {
  /* position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%); */
  border: none;
  padding: 10px 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 200px;
  overflow: hidden;
  outline: 0;
  transition: all 0.4s;
  visibility: visible;
  opacity: 1;
  background: linear-gradient(to top, #00aab6, #084556);
}

.button button:hover {
  cursor: pointer;
  /* background-color: #8e6ac1; */
  /* color: #ffffff; */
}

.button.clicked button {
  visibility: hidden;
  opacity: 0;
}

/* POP-UP
========================================== */
.pop-up {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  background-image: url("assets/images/pikaso_texttoimage_Create-a-bold-scene-of-a-rugged-pirate-on-a-stormy.jpg") !important; /* Correct usage */
  background-size: cover; /* Make the image cover the entire element */
  background-repeat: no-repeat; /* Prevent the background image from repeating */
  background-position: center;
  padding: 15px;
  z-index: 10;
  width: 90vw;
  height: auto;
  max-height: 97vh; /* Maintain max-height for the pop-up */
  overflow: hidden ; /* Hide overflow to remove scroll for the pop-up */
  color: white;
  border-radius: 10px;
}
.pop-up::-webkit-scrollbar {
  display: none ; /* Scrollbar ko hide karega */
}

.pop-up.open {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.pop-up .content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  position: relative;
  border-radius: 8px;
  overflow-y: auto; /* Allow vertical scroll for content */
  max-height: 70vh; /* Set a max-height for the content area to enable scrolling */
  padding: 20px; /* Add padding for better spacing */
}



.content-text {
  background: rgba(22, 22, 22, 0.7); /* Use rgba for the background */
  padding: 4px;
  border-radius: 10px;
  letter-spacing: normal;
}

/* Additional styles for text to ensure it's fully visible */
.content-text h1,
.content-text h5,
.content-text p {
  color: #fff; /* Ensure text color is white for visibility */
  opacity: 1; /* Ensure text is fully visible */
  margin: 0; /* Remove default margin for consistency */
}

.pop-up img {
  width: 100%;
  max-width: 180px;
  display: inline-block;
  margin: 20px 0;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pop-up.open img {
  opacity: 1;
  transform: translateX(0px);
}

/* Close Button: Positioned on the left */
.pop-up .content .close {
  position: fixed;
  top: 20px;
  left: 20px; /* Keeping the close button on the left */
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
  cursor: pointer;
}

.pop-up .content .close:hover {
  color: #f66867;
}

@media (min-width: 768px) {
  .pop-up {
    width: 70vw;
  }
}

@media (min-width: 1024px) {
  .pop-up {
    width: 50vw;
    height: auto;
    max-width: 800px;
  }

  .pop-up .content {
    padding: 50px;
  }

  .pop-up img {
    max-width: 250px;
  }
}

.pop-up .dots .dot {
  position: absolute;
  border-radius: 100%;
  z-index: 11;
}

/* Uncomment and customize dots if needed */
/*
.pop-up .dots .dot:nth-of-type(1) {
  top: -80px;
  right: -80px;
  width: 160px;
  height: 160px;
  background-color: #689bf6;
  animation: float 6s ease-in-out infinite;
}

.pop-up .dots .dot:nth-of-type(2) {
  bottom: -120px;
  left: -120px;
  width: 240px;
  height: 240px;
  background-color: #f66867;
  animation: float 8s ease-in-out infinite;
}

.pop-up .dots .dot:nth-of-type(3) {
  bottom: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background-color: #ffd84c;
  animation: float 4s ease-in-out infinite;
}
*/

.pop-up .content .title h1 {
  text-align: center;
  color: #f66867;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 0.05rem;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
