footer {
 background-color: #222;
}

.footer-item {
  padding: 40px 80px;
  border-left: 1px solid #dddddd;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 35% 20% 25% 20%;
  gap: 1px;
}

.subcription-form .form-control {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--white-color);
  border-radius: 0;
  color: var(--white-color);
}

.subcription-form .form-floating > label {
  color: var(--white-color);
  padding: 0.75rem 10px ;
}

.subcription-form .form-floating > .form-control:focus ~ label {
  color: var(--white-color);
}

.subcription-form .form-floating > .form-control:focus ~ label::after {
  background-color: transparent !important;
}

.subcription-form .form-control:focus {
  box-shadow: none;
}

/* Override autofill background */
.subcription-form .form-control:-webkit-autofill,
.subcription-form .form-control:-webkit-autofill:focus,
.subcription-form .form-control:-webkit-autofill:hover {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: var(--white-color) !important;
  background-color: transparent !important;
  background-image: none !important;
  caret-color: var(--white-color) !important;
}

/* Remove autofill border color */
.subcription-form .form-control:-webkit-autofill {
  -webkit-border-after-color: var(--white-color) !important;
}

/* Transition delay to prevent autofill color flash */
.subcription-form .form-control:-webkit-autofill {
  -webkit-transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s !important;
  transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s !important;
}

.subcription-form form {
  position: relative;
}

.subcription-form button {
  position: absolute;
  top: -1px;
  right: 0;
  color: var(--white-color);
  font-family: 22px;
}

.subcription-form button .fa-solid {
  font-size: 22px;
}

.subcription-form .form-check-label {
  color: var(--white-color);
}

.footer-title {
  color: var(--white-color);
  font-size: 28px;
  margin-bottom: 24px;
}

.footer-list {
  list-style: none;
  padding-left: 0;
}

.footer-list li {
  color: var(--white-color);
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-list a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

/* Common line styles */
.footer-list a::before,
.footer-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 50%;
  background-color: currentColor;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Left line */
.footer-list a::before {
  left: 0;
  transform-origin: left;
}

/* Right line */
.footer-list a::after {
  right: 0;
  transform-origin: right;
}

/* Hover animation */
.footer-list a:hover::before,
.footer-list a:hover::after {
  transform: scaleX(1);
}

.footer-wrapper .footer-item:first-child {
  padding-right: 80px;
  padding-left: 0;
  border-left: 0;
}

.footer-wrapper .footer-item:last-child {
  padding-right: 0px;
  padding-left: 80px;
}

.footer-content {
  display: flex;
  gap: 10px;
}

.footer-content p {
  margin-bottom: 0;
}

.bottom-footer {
  display: flex;
  margin-top: 1px;
  padding: 22px 0;
  border-top: 1px solid #dddddd;
}

.bottom-footer-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}


.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #ffffff !important; /* Yahan white ki jagah apna color daal dein (jaise Black ya Dark Blue) */
}

.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after {
    background-color: transparent !important;
}





/* ------------- */

/* Container ko hide karein taaki page par extra scroll na aaye */
.common-top-footer {
    overflow: hidden;
}

.common-footer-title {
    color: var(--blue-light);
    font-size: 140px;
    line-height: 140px;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    transition: all 0.4s ease-in-out; /* Wapas normal hone ka smooth effect */
}

.common-footer-wrapper {
    display: flex;
    gap: 50px;
    overflow-x: auto; /* JavaScript scrolling ke liye auto hona chahiye */
    height: 420px;
    align-items: center;
    scrollbar-width: none; /* Firefox ke liye scrollbar hide */
    cursor: grab;
}

.common-footer-wrapper.active {
    cursor: grabbing;
}

/* Chrome, Safari ke liye scrollbar hide */
.common-footer-wrapper::-webkit-scrollbar {
    display: none;
}

.common-footer-wrapper > * {
    flex-shrink: 0;
}

.common-footer-img {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease-in-out;
}

.common-footer-item {
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hover Effects */
.common-footer-item:hover .common-footer-img {
    opacity: 1;
    transform: rotate(-20deg);
    visibility: visible;
}

.common-footer-item:hover .common-footer-title {
    color: var(--white-color);
}