*{
  font-family:"Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 600;
}




#ch {
  display: none;
}

.main-content {
  display: none;
}

#ch:checked ~ .main-content {
  display: block;
}

#ch:checked ~ label {
  display: none;
}
#ch:checked ~ .content {
  display: none;
}

#mh {
  display: none;
}

#mh:checked ~ .main-content {
  display: block;
}

#mh:checked ~ label {
  display: none;
}
#mh:checked ~ .content {
  display: none;
}

input[type="file"]::file-selector-button {
  
  background-color:rgba(35, 65, 82);
  border: none;
  padding: 5px 7px;
  border-radius: 10px;
  color: white;
}

.sidenavbar {
  height: 100%;
  width: 80%;
  position: fixed;
  top: 0;
  left: -100%;
  background: linear-gradient(
    79deg,
    rgba(0, 66, 118, 0.8) 0%,
    rgba(0, 21, 44, 0.8) 100%
  );
  transition: 0.5s ease-out;

  z-index: 100;
}

.open.sidenavbar {
  left: 0%;
  box-shadow: 96px -7px 92px 65px rgba(0, 0, 0, 0.7);
}

.open-sidebtn i {
  color: white;
  font-size: 24px;
}

.close-sidebtn i {
  color: white;
  font-size: 24px;
}

.image-text {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navlinks li {
  padding: 15px 30px;
  color: white;
}

.navlinks li:hover {
  color: rgb(240, 108, 3);
}

#sidebar-active {
  display: none;
}

/* #sidebar-active:checked ~ .sidenavbar{
    left: 0%;
    transition: 0.5s ease-out;
} */

#sidebar-active:checked ~ .open-sidebtn {
  display: none;
}

#sidebar-active:checked ~ .close-sidebtn {
  display: block;
}

.form-head {
  background-image: url(./frm_bg.png);
  height: 80px;
  background-repeat: no-repeat;
  top: 0px;
  left: -29px;
  position: relative;
  background-size: contain;
  width: 100%;
}

.form-head2{
  background-image: url(./frm_bg.png);
  height: 80px;
  background-repeat: no-repeat;
  top: 0px;
  left: -25px;
  position: relative;
  background-size: contain;
  width: 100%;
}

.main-header {
  background-image: url(./1731560790962.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(35, 65, 82, 1);;
  background-size: cover;
  /* overflow: hidden; */
  /* transition: all 0.3s ease-in-out; */
  /* animation: animateBackground 7s infinite linear; */
}

@keyframes animateBackground {
  100% {
    background-image: url(./1731562024661.jpg);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
  }

  75% {
    background-image: url(./1731560790962.jpg);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
  }

  25% {
    background-image: url(./1731561790087.jpg);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
  }

  0% {
    background-image: url(./1731562165989.jpg);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
  }
}

.overlay {
  background-color: rgba(35, 65, 82, 1);
  background: rgba(0, 66, 118, 0.8);
  background: linear-gradient(
    79deg,
    rgba(0, 66, 118, 0.8) 0%,
    rgba(0, 21, 44, 0.8) 100%
  );
}

.card-main {
  position: relative;
  z-index: 0;
  background-image: url(./pexels-rostislav-5011647-Photoroom.png);
  /* background-color:aliceblue ; */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-section {
  position: absolute;
  animation: bg-rotate 40s infinite linear;
  z-index: -6;
}

@keyframes bg-rotate {
  0% {
    transform: rotate(-45deg);
  }

  20% {
    transform: rotate(-90deg);
  }

  40% {
    transform: rotate(-180deg);
  }

  60% {
    transform: rotate(-240deg);
  }

  80% {
    transform: rotate(-300deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.btn-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgb(249, 115, 18);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease-in-out;
}

.btn-1:hover::before,
.btn-1:focus::before {
  transform: scaleX(1);
}

.btn-2{
  border:"1px solid rgb(221,140,29)";
  width:"50%";
  color:"white";
  position:"relative";
}

.btn-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgb(249, 115, 18);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease-in-out;
}

.btn-2:hover::before,
.btn-2:focus::before {
  transform: scaleX(1);
}

.color-blow {
  background: linear-gradient(
    -177deg,
    rgba(255, 255, 255, 0.02) 20%,
    rgba(255, 249, 220, 0) -44%,
    rgb(253, 150, 16) 100%,
    rgba(255, 255, 255, 0) 27%
  );
  padding: 0px 10px;
  border-radius: 6px;
  animation: colorchange 2s infinite ease-in-out;
}

@keyframes colorchange {
  0% {
    background: linear-gradient(
      -177deg,
      rgba(255, 255, 255, 0.02) 20%,
      rgba(255, 249, 220, 0) -44%,
      rgb(253, 60, 16) 100%,
      rgba(255, 255, 255, 0) 27%
    );
  }
  20% {
    background: linear-gradient(
      -177deg,
      rgba(255, 255, 255, 0.02) 20%,
      rgba(255, 249, 220, 0) -44%,
      rgb(253, 80, 16) 100%,
      rgba(255, 255, 255, 0) 27%
    );
  }
  40% {
    background: linear-gradient(
      -177deg,
      rgba(255, 255, 255, 0.02) 20%,
      rgba(255, 249, 220, 0) -44%,
      rgb(235, 100, 3) 100%,
      rgba(255, 255, 255, 0) 27%
    );
  }
  60% {
    background: linear-gradient(
      -177deg,
      rgba(255, 255, 255, 0.02) 20%,
      rgba(255, 249, 220, 0) -44%,
      rgb(239, 120, 5) 100%,
      rgba(255, 255, 255, 0) 27%
    );
  }
  80% {
    background: linear-gradient(
      -177deg,
      rgba(255, 255, 255, 0.02) 20%,
      rgba(255, 249, 220, 0) -44%,
      rgb(232, 140, 5) 100%,
      rgba(255, 255, 255, 0) 27%
    );
  }
  100% {
    background: linear-gradient(
      -177deg,
      rgba(255, 255, 255, 0.02) 20%,
      rgba(255, 249, 220, 0) -44%,
      rgb(253, 170, 5) 100%,
      rgba(255, 255, 255, 0) 27%
    );
  }
}

/* Slider styling */
.slider-left-right,
.slider-right-left {
  height: 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.slide-track-left-right {
  display: flex;
  width: calc(200px * 12);
  justify-content: space-evenly;

  animation: scrollLeftRight 20s infinite linear;
}

.slide-track-right-left {
  display: flex;
  width: calc(200px * 12);
  justify-content: space-evenly;
  animation: scrollRightLeft 20s infinite linear;
}

.slide {
  margin-right: 40px;
  border-radius: 20%;
  /* box-shadow: 2px 2px 8px 0px white; */
}

/* Left to Right Animation */
@keyframes scrollLeftRight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Right to Left Animation */
@keyframes scrollRightLeft {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media screen and (max-width: 400px) {
  .slide-track-left-right {
    animation-duration: 5s;
  }
  .slide-track-right-left {
    animation-duration: 5s;
  }
}

/* Enhanced 3D Animation for testimonial cards */
.enhanced-card {
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
  perspective: 1000px;
}

.enhanced-card:hover {
  transform: rotateY(8deg) rotateX(8deg) translateZ(30px); /* Subtle 3D rotation */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); /* Enhanced shadow for depth */
}

/* Exact Outer Wrapper Effect (matching the uploaded image) */
.outer-wrapper {
  background: rgba(255, 255, 255, 0.1); /* Transparent white for glass effect */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  filter: blur(30px); /* Blur the background */
  border-radius: 20px; /* Rounded corners */
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.05); /* Perfectly centered behind the card */
  width: 110%; /* Slightly larger than the card */
  height: 120%; /* Slightly larger height */
}



/* Base styles for component */
.component {
  opacity: 0;
  transform: translateY(30px);  /* Small movement on desktop */
  transition: opacity 0.4s ease-out, transform 0.4s ease-out; /* Smooth transition */
  will-change: opacity, transform; /* Only on animating elements */
}

/* When the component becomes visible */
.component.visible {
  opacity: 1;
  transform: translateY(0); /* Move to original position */
}

/* Base styles for component1 */
.component1 {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out; /* Smooth transition */
  will-change: opacity, transform; /* Only on animating elements */
}

.component1.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0); /* Move to original position */
}

/* Mobile Adjustments for smoother animations */
@media (max-width: 600px) {
  .component {
    opacity: 0;
    transform: translateY(10px); /* Lighter movement on mobile */
    transition: opacity 0.4s ease-out, transform 0.4s ease-out; /* Shorter transition for mobile */
  }

  .component.visible {
    opacity: 1;
    transform: translateY(0); /* Bring it to the original position */
  }

  /* Mobile specific adjustments for component1 */
  .component1 {
    opacity: 0;
    transform: translateY(5px); /* Smaller movement on mobile */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out; /* Shorter transition */
  }

  .component1.visible {
    opacity: 1;
    transform: translateY(0); /* Bring it to the original position */
  }
}
