/* ================================
   FUTURISTIC 3D FOOTER (SCOPED)
   No global selectors used.
   All classes include: footer
================================ */

.footer_section_wrapper{
  --footer_bg: #05060a;
  --footer_glass: rgba(255,255,255,0.07);
  --footer_glass2: rgba(255,255,255,0.10);
  --footer_line: rgba(160,255,245,0.22);
  --footer_text: rgba(255,255,255,0.85);
  --footer_muted: rgba(255,255,255,0.60);
  --footer_neonA: rgba(127,255,212,0.90);
  --footer_neonB: rgba(120,140,255,0.90);
  --footer_neonC: rgba(255,120,210,0.75);

  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(1200px 600px at 70% 10%, rgba(120,140,255,0.15), transparent 55%),
              radial-gradient(900px 600px at 20% 30%, rgba(127,255,212,0.13), transparent 55%),
              radial-gradient(700px 500px at 50% 100%, rgba(255,120,210,0.10), transparent 60%),
              var(--footer_bg);
  padding: 84px 0 28px;
  font-family: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--footer_text);
}

.footer_bg_layer{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.footer_bg_grid{
  position: absolute;
  inset: -40% -40%;
  opacity: 0.35;
  transform: translateZ(0);
  background:
    linear-gradient(to right, rgba(160,255,245,0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(160,255,245,0.10) 1px, transparent 1px);
  background-size: 44px 44px;
  filter: blur(0.2px);
  animation: footer_grid_drift 18s linear infinite;
}

@keyframes footer_grid_drift{
  0%{ transform: translate3d(-2%, 0%, 0) rotate(0.001deg); }
  50%{ transform: translate3d(2%, -1%, 0) rotate(0.001deg); }
  100%{ transform: translate3d(-2%, 0%, 0) rotate(0.001deg); }
}

.footer_bg_scan{
  position: absolute;
  inset: -20% 0;
  opacity: 0.14;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(127,255,212,0.20) 45%,
    rgba(120,140,255,0.16) 50%,
    transparent 60%);
  transform: translate3d(0,-30%,0);
  animation: footer_scan 7.5s ease-in-out infinite;
}

@keyframes footer_scan{
  0%{ transform: translate3d(0,-30%,0); }
  50%{ transform: translate3d(0,20%,0); }
  100%{ transform: translate3d(0,-30%,0); }
}

.footer_bg_orb{
  position: absolute;
  left: 72%;
  top: 28%;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  transform: translate3d(-50%,-50%,0);
  filter: blur(0.2px);
  opacity: 0.95;
}

.footer_bg_orb_core{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.20), transparent 35%),
    radial-gradient(circle at 60% 70%, rgba(127,255,212,0.18), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(120,140,255,0.18), transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(255,120,210,0.10), transparent 60%);
  box-shadow:
    0 0 42px rgba(127,255,212,0.16),
    0 0 70px rgba(120,140,255,0.14);
  animation: footer_orb_breathe 6.5s ease-in-out infinite;
}

@keyframes footer_orb_breathe{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.04); }
}

.footer_bg_orb_ring{
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  border: 1px dashed rgba(160,255,245,0.26);
  transform: translateZ(0);
  animation: footer_orb_spin 9s linear infinite;
}

.footer_bg_orb_ring_2{
  inset: 42px;
  border-color: rgba(120,140,255,0.24);
  animation-duration: 12s;
  animation-direction: reverse;
}

.footer_bg_orb_ring_3{
  inset: 66px;
  border-style: solid;
  border-color: rgba(255,120,210,0.18);
  animation-duration: 15s;
}

@keyframes footer_orb_spin{
  0%{ transform: rotate(0deg); }
  100%{ transform: rotate(360deg); }
}

.footer_bg_particles{
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.footer_particle{
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0) 60%);
  box-shadow: 0 0 18px rgba(127,255,212,0.14);
  transform: translate3d(0,0,0);
  animation-name: footer_particle_float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes footer_particle_float{
  0%{ transform: translate3d(0,0,0); opacity: 0.55; }
  50%{ transform: translate3d(0,-22px,0); opacity: 0.95; }
  100%{ transform: translate3d(0,0,0); opacity: 0.55; }
}

.footer_container{
  position: relative;
  z-index: 2;
  /* Increased from 1200px to 1400px to fill more horizontal screen space */
  width: min(1400px, calc(100% - 40px)); 
  margin: 0 auto;
}

.footer_cta_shell{
  position: relative;
  transform-style: preserve-3d;
  perspective: 1200px;
  margin-bottom: 26px;
}

.footer_cta_glass{
  position: relative;
  border-radius: 22px;
  padding: 22px 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 16px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.footer_cta_edge{
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: conic-gradient(from 90deg,
    rgba(127,255,212,0.0),
    rgba(127,255,212,0.55),
    rgba(120,140,255,0.55),
    rgba(255,120,210,0.40),
    rgba(127,255,212,0.0));
  filter: blur(10px);
  opacity: 0.55;
  z-index: -1;
  animation: footer_border_flow 6.5s linear infinite;
}

@keyframes footer_border_flow{
  0%{ transform: rotate(0deg); }
  100%{ transform: rotate(360deg); }
}

.footer_cta_left{ display: grid; gap: 10px; }
.footer_badge{
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(160,255,245,0.24);
}

.footer_cta_title{
  font-family: "Orbitron", "Outfit", system-ui, sans-serif;
  font-size: 24px;
  letter-spacing: 0.02em;
}

.footer_cta_sub{
  color: var(--footer_muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 62ch;
}

.footer_cta_right{
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer_btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  transform: translateZ(0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  user-select: none;
  cursor: pointer;
  overflow: hidden;
}

.footer_btn_glow{
  position: absolute;
  inset: -2px;
  opacity: 0;
  background: radial-gradient(circle at 30% 30%, rgba(127,255,212,0.35), transparent 55%),
              radial-gradient(circle at 70% 70%, rgba(120,140,255,0.30), transparent 55%);
  transition: opacity 220ms ease;
  pointer-events: none;
}

.footer_btn_primary{
  border-color: rgba(127,255,212,0.32);
  background: linear-gradient(135deg, rgba(127,255,212,0.16), rgba(120,140,255,0.10));
}

.footer_btn_ghost{
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
}

.footer_btn_small{
  padding: 11px 14px;
  border-radius: 12px;
  min-width: 86px;
}

.footer_btn:hover{
  transform: translate3d(0,-2px,0);
  box-shadow: 0 18px 46px rgba(0,0,0,0.55);
  border-color: rgba(127,255,212,0.40);
}

.footer_btn:hover .footer_btn_glow{ opacity: 1; }

.footer_btn_ripple{
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.75), rgba(255,255,255,0) 70%);
  transform: translate3d(-50%,-50%,0) scale(0.8);
  opacity: 0.85;
  pointer-events: none;
  animation: footer_ripple 650ms ease-out forwards;
}

@keyframes footer_ripple{
  0%{ transform: translate3d(-50%,-50%,0) scale(0.6); opacity: 0.85; }
  100%{ transform: translate3d(-50%,-50%,0) scale(9.5); opacity: 0; }
}

.footer_grid{
  display: grid;
  /* Changed from 4 columns to 3. 
     The Brand card (1.6fr) is now wider to fill the void. */
  grid-template-columns: 1.6fr 1fr 1.1fr; 
  gap: 24px; 
  margin-top: 18px;
}

.footer_card{
  position: relative;
  transform-style: preserve-3d;
  perspective: 1200px;
  min-height: 220px;
}

.footer_card_brand{ min-height: 260px; }

.footer_card_glass{
  position: relative;
  height: 100%;
  border-radius: 22px;
  padding: 18px 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 16px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transform: translateZ(0);
}

.footer_card_edge{
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: conic-gradient(from 180deg,
    rgba(127,255,212,0.0),
    rgba(127,255,212,0.38),
    rgba(120,140,255,0.38),
    rgba(255,120,210,0.26),
    rgba(127,255,212,0.0));
  filter: blur(11px);
  opacity: 0.40;
  z-index: -1;
  animation: footer_border_flow 8.2s linear infinite;
}

.footer_card_title{
  font-family: "Orbitron", "Outfit", system-ui, sans-serif;
  letter-spacing: 0.04em;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 12px;
}

.footer_card_sub{
  color: var(--footer_muted);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.footer_brand_title{
  font-family: "Orbitron", "Outfit", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.footer_brand_tag{
  margin-top: 6px;
  color: rgba(160,255,245,0.78);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer_brand_desc{
  margin-top: 12px;
  color: var(--footer_muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer_social_row{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer_social_btn{
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.footer_social_btn:hover{
  transform: translate3d(0,-2px,0);
  border-color: rgba(127,255,212,0.40);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.footer_icon{
  width: 20px;
  height: 20px;
}

.footer_chip_row{
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer_chip{
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(160,255,245,0.20);
}

.footer_link_list{
  display: grid;
  gap: 10px;
}

.footer_link{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: rgba(255,255,255,0.78);
  transition: transform 200ms ease, color 200ms ease;
}

.footer_link:hover{
  transform: translate3d(6px,0,0);
  color: rgba(127,255,212,0.92);
}

.footer_service_item{
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer_service_dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(127,255,212,0.9);
  box-shadow: 0 0 18px rgba(127,255,212,0.25);
}

.footer_service_text{
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}

.footer_form_row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.footer_input{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.90);
  outline: none;
}

.footer_input::placeholder{
  color: rgba(255,255,255,0.50);
}

.footer_input:focus{
  border-color: rgba(127,255,212,0.42);
  box-shadow: 0 0 0 3px rgba(127,255,212,0.14);
}

.footer_contact_block{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.footer_contact_line{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}

.footer_contact_label{
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer_contact_value{
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 13px;
  transition: color 200ms ease;
}

.footer_contact_value:hover{
  color: rgba(127,255,212,0.92);
}

.footer_bottom_bar{
  margin-top: 18px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.footer_copy{
  font-size: 13px;
  color: rgba(255,255,255,0.74);
}

.footer_micro_note{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.52);
}

.footer_bottom_right{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer_bottom_link{
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}

.footer_bottom_link:hover{ color: rgba(120,140,255,0.92); }

.footer_bottom_divider{
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
}

/* Responsive */
@media (max-width: 992px){
  .footer_grid{ grid-template-columns: 1fr 1fr; }
  .footer_bg_orb{ left: 70%; top: 22%; width: 280px; height: 280px; }
}

/* Optimized Mobile View */
@media (max-width: 576px) {
  .footer_section_wrapper {
    padding: 40px 0 20px; /* Padding kam kar di gayi hai */
  }

  /* CTA Section ko chota kiya gaya hai */
  .footer_cta_glass {
    padding: 16px;
  }
  .footer_cta_title {
    font-size: 19px;
  }
  .footer_cta_sub {
    font-size: 13px;
    margin-bottom: 5px;
  }

  /* Grid optimization: Quick Links aur Services ko side-by-side rakha hai */
  .footer_grid {
    grid-template-columns: 1fr 1fr; /* Do columns banaye gaye hain space bachane ke liye */
    gap: 12px;
  }

  /* Brand card aur Newsletter full width rahenge */
  .footer_card_brand,
  .footer_card:last-child {
    grid-column: span 2;
  }

  /* Min-height hatane se cards content ke hisaab se shrink ho jayenge */
  .footer_card, 
  .footer_card_brand {
    min-height: auto; 
  }

  .footer_card_glass {
    padding: 14px;
  }

  /* Contact block ko compact kiya gaya hai */
  .footer_contact_line {
    padding: 6px 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  /* Social buttons ka size thoda kam */
  .footer_social_btn {
    width: 38px;
    height: 38px;
  }

  /* Bottom bar padding kam */
  .footer_bottom_bar {
    margin-top: 15px;
    padding-top: 15px;
    text-align: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce){
  .footer_bg_grid,
  .footer_bg_scan,
  .footer_bg_orb_ring,
  .footer_card_edge,
  .footer_cta_edge,
  .footer_particle{ animation: none; }
  .footer_btn{ transition: none; }
}

/* --- STEP 2: REMOVE THE EMPTY SPACE FROM THE COMMENTED CARD --- */

@media (min-width: 993px) {
  /* This ensures that even if the 4th card is in the HTML, 
     it won't take up any space on your PC layout. */
  .footer_card:nth-child(4) {
    display: none;
  }
}