/* <!-- ********************************** Footer ********************************** --> */

ul {
  margin: 0px;
  padding: 0px;
}
.footer-section {
  background: #2e2e2e;
  position: relative;
}
.footer-section::before {
  content: "";
  position: absolute;
  top: -40px;
  right: calc(0% + 40px);
  display: block;
  width: 120px;
  height: 120px;
  background-image: url("../../images/pages/home/cube-white.png");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 9;
}
.footer_para {
  font-size: 16px;
}
.footer-cta {
  /* border-bottom: 1px solid #373636; */
}
.single-cta {
  margin-bottom: 16px;
}
.single-cta i {
  color: #ff5e14;
  font-size: 30px;
  float: left;
  margin-top: 8px;
}
.cta-text {
  /* padding-left: 15px; */
  display: inline-block;
}
.cta-text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  color: #ffffff;
  font-size: 1.2rem;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}
.footer-logo a {
  width: 100%;
  height: 100%;
  display: block;
}
.flex-x {
  align-items: center;
}
.footer-content {
  font-size: 1.2rem;
  color: #ffffff !important;
  line-height: 28px;
  padding: 40px 70px 20px 70px;
}

.footer-text p {
  margin-bottom: 5px;
  font-size: 32px;
  color: #ffffff;
  line-height: 1;
}

.footer-social-icon {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Adjust spacing between rows */
  margin-left: 3rem;
  /* margin-top: 3rem; */
}
.d-itemsc {
  justify-content: flex-end;
}
.footer-text p {
  text-align: end;
}
.footer-social-icon img {
  width: 45px;
  height: 45px;
}

.footer-social-icon span {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}
.footer-social-icon a {
  color: #fff;
  font-size: 16px;
  margin-right: 15px;
  display: block;
}
.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}
.footer-widget-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #ff5e14;
}
.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 50%;
  margin-bottom: 12px;
}
.footer-widget ul li a:hover {
  color: #ff5e14;
}
.footer-widget ul li a {
  color: #878787;
  text-transform: capitalize;
}

.legacy-cta-footer {
  background: linear-gradient(to right, #1a61be, #5c96e6) !important;
  color: white !important;
  padding: 12px 20px !important;
  border: none;
  border-radius: 16px !important;
  font-size: 1.2rem !important;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  font-family: "Poppins", sans-serif;
  /* margin-left: 1rem; */
}

.legacy-cta-footer:hover {
  background: linear-gradient(to right, #1558a6, #5289d6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.subscribe-form {
  position: relative;
  overflow: hidden;
  width: 40%;
}
.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid #ffffff;
  color: #fff !important;
  margin-top: 0.5rem;
  font-family: "Poppins", sans-serif;
  transition: background-color 100000s ease-in-out 0s;
}

.subscribe-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: #fff !important;
  transition: background-color 100000s ease-in-out 0s;
  caret-color: #fff;
}

.subscribe-form input:-moz-autofill {
  box-shadow: 0 0 0px 1000px transparent inset !important;
  -moz-text-fill-color: #fff !important;
}

.subscribe-form input::placeholder {
  color: #ffff;
}
/* .subscribe-form button {
    position: relative;
    right: 0;
    background: linear-gradient(to right, #1a61be, #5c96e6);
    padding: 6px 70px;
/    top: 0;
    margin-left: 0 !important;
} */
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}
.copyright-area {
  background: #202020;
  padding: 25px 0;
}
.copyright-text p {
  margin: 0;
  font-size: 1.125rem;
  color: #ffffff;
}
.copyright-text p a {
  color: #fff;
  text-decoration: none;
}

.footer-menu {
  margin-left: 2rem;
  margin-top: 30px;
}

.footer-menu li {
  display: inline-block;
  margin-left: 20px;
  margin-bottom: 0.8rem !important;
}
.footer-menu li:hover a {
  color: #ff5e14;
}
.footer-menu li a {
  font-size: 1.5rem;
  color: #ffffff !important;
  text-decoration: none !important;
  text-transform: none !important;
}

/* .img-fluid {
  width: 100% !important;
  height: 200px !important;
} */


.class-flex {
  display: flex;
  align-items: center;
}


@media (max-width: 1240px) {
  .copyright-text p {
    font-size: 15px;
  }
  .footer-text p {
    font-size: 26px;
  }
}

@media (max-width: 1024px) {
  
  .footer-social-icon {
    margin-left: 2rem;
  }
  .footer-social-icon img {
    width: 30px;
    height: 30px;
  }
  .footer-menu {
    margin-left: 1.5rem;
  }
  .footer-menu li a {
    font-size: 1.2rem;
  }
  /* .img-fluid {
    object-fit: cover;
  } */
  .footer-text p {
    font-size: 20px;
  }
  .subscribe-form {
    width: 49%;
  }
  .footer-content {
    padding: 40px 40px 20px 40px;
  }
  .copyright-text p {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  
  
  .d-itemsc {
    margin-top: 30px;
    justify-content: center;
  }
  .subscribe-form {
    width: 65%;
  }
  .footer-text p {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .subscribe-form {
    width: 50%;
  }
}

@media (max-width: 640px) {
  
  .footer-text p {
    font-size: 22px;
  }
  
}

@media (max-width: 560px) {
  
  .class-flex {
    align-items: flex-start;
    flex-flow: wrap;
  }
  /* .img-fluid {
    width: 100% !important;
  } */
  .footer-social-icon {
    margin-left: 0;
  }
  .d-itemsc {
    margin-top: 30px;
    justify-content: flex-start;
    flex-flow: wrap;
    width: 100%;
  }
  .footer-text p {
    font-size: 26px;
    text-align: left;
    margin-left: -15px;
  }
  .subscribe-form {
    width: 100%;
  }
}


/* ========================================
   CORNER LOGO - ZERO GAP (TOUCHES CORNER)
   ======================================== */
.page-reveal {
  display: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0a0f1a, #1c1f2e);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  color: white;
  text-align: center;
  font-family: "Poppins", sans-serif;
  animation: fadeInUp 0.8s ease-out forwards;
}

.page-reveal.active {
  display: flex;
}

.page-reveal-heading {
  font-size: 2rem;
  margin-bottom: 20px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

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

.corner-logo {
  width: 120px;
  height: auto;
  max-width: 120px;
  display: block;

  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  z-index: 999;
  padding: 0 !important;
  margin: 0 !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  overflow: hidden;
}

.corner-logo:hover {
  cursor: pointer;
  transform: scale(1.05);
}

.corner-logo .legacy-logo {
  position: static !important;
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-family: "Poppins", sans-serif;
  bottom: auto !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Enhanced wind animation classes */
.wind-animation .logo-svg {
  overflow-x: hidden !important;
  animation: realisticWindBlow 5s ease-in-out infinite,
    paperFlutter 3.5s ease-in-out infinite;
  transform-style: preserve-3d;
}

.wind-animation .page-curl {
  animation: advancedPageFlutter 5s ease-in-out infinite;
}

/* Hidden content behind the page */
.hidden-content {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 115px;
  background: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
  border-radius: 10px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Arial", sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 998;
}

.peeling .hidden-content {
  opacity: 1;
  transform: scale(1);
}

/* SVG Container for animations */
.logo-container {
  position: relative;
  width: 120px;
  height: auto;
}

/* Enhanced Page curl effect */
.page-curl {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  clip-path: polygon(70% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 0%);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 0 15px rgba(72, 128, 158, 0.4);
}

.wind-animation .page-curl {
  animation: advancedPageFlutter 5s ease-in-out infinite;
}

.wind-gust .page-curl {
  animation: advancedPageFlutter 2.5s ease-in-out infinite;
}

.proximity-hover .page-curl {
  opacity: 0.4;
  transform: scale(1);
  clip-path: polygon(50% 0%, 80% 20%, 100% 100%, 0% 100%, 0% 0%);
}

.peeling .page-curl {
  opacity: 0.8;
  transform: scale(1.2);
  clip-path: polygon(20% 0%, 50% 10%, 80% 80%, 0% 100%, 0% 0%);
}

/* Sound wave effect */
.sound-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  opacity: 0;
}

/* Mobile Extra Small (320px - 374px) */
@media (max-width: 374px) {
  .corner-logo {
    bottom: 0 !important;
    right: 0 !important;
    max-width: 60px;
  }

  .corner-logo svg {
    max-width: 40px;
  }

  /* Reduce animation intensity on mobile */
  .wind-animation .logo-svg {
    animation: realisticWindBlow 6s ease-in-out infinite,
      paperFlutter 4s ease-in-out infinite;
  }
}