/* Hyper-locked: Everything lives in main .index-page—no body bleed, no header/footer drama */
/* Bg/flex/animations contained to content div only */

body.index-page main .index-page {
  /* Full-viewport takeover for immersion—ignores header/footer */
  position: relative;
  width: 102%;
  margin: 0;
  height: 105vh;
  /* background: radial-gradient(circle at 20% 20%, #0a1d42, #092a6e 70%) ; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Poppins, Inter, system-ui;
  color: var(--text-light);
  overflow: hidden; /* Trap any spills */


  background-image: 
  url("../images/request.svg"),
  radial-gradient(circle at 20% 20%, #0a1d42, #092a6e 70%) !important;
  background-size:auto !important;         
  background-position: center 25% !important;    
  background-repeat: no-repeat !important;    
  background-attachment: fixed !important;  

}


body.index-page main .index-page * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.index-page main .index-page .container {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 20px 60px rgba(5, 12, 25, 0.6);
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 3rem;
  position: relative;
  overflow: hidden;
  z-index: 1; /* Above floats */
}

body.index-page main .index-page .container.narrow {
  max-width: 820px;
  grid-template-columns: 1fr;
}

body.index-page main .index-page .container {
  margin-top: -15%;  
  margin-bottom: -15%;
}
.index-page main .container{
	background: rgba(58, 131, 240, 0.144) !important;
	box-shadow: 0 20px 60px rgba(2, 10, 30, 0.7) !important;
}


body.index-page main .index-page .container::before,
body.index-page main .index-page .container::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

body.index-page main .index-page .container::before {
  width: 350px;
  height: 350px;
  top: -100px;
  left: -80px;
  background: radial-gradient(circle, var(--accent-pink), transparent 70%);
  animation: float 8s ease-in-out infinite alternate;
}

body.index-page main .index-page .container::after {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -80px;
  background: radial-gradient(circle, var(--accent-yellow), transparent 70%);
  animation: float 10s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(20px);
  }
}

body.index-page main .left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

body.index-page main h1 {
  font-size: 2rem;
  color: var(--accent-yellow);
  text-shadow: 0 0 10px rgba(249, 178, 51, 0.3);
  margin-bottom: 24px;
}

body.index-page main p {
  /* color: white; */
  color: var(--muted);
  font-size: 1.3rem;
}

body.index-page main .buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  justify-items: center;
  align-items: center;
  margin-top: 1rem;
}

body.index-page main button {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, #003C9E, #001A33);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  padding: 15px;
  text-align: center;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
}

body.index-page main button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    var(--accent-pink),
    var(--accent-yellow),
    var(--accent-red),
    var(--accent-pink)
  );
  transform: rotate(0deg);
  transition: opacity 0.4s ease;
  opacity: 0;
  animation: spin 3s linear infinite;
  z-index: 0;
}

body.index-page main button:hover::before {
  opacity: 1;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body.index-page main button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px var(--accent-pink), 0 0 40px var(--accent-yellow);
  background: linear-gradient(145deg, var(--accent-pink), var(--accent-red));
}

body.index-page main button span {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 600;
  font-family: "Segoe UI", sans-serif;
  text-align: center;
  padding: 0 4px;
}

body.index-page main .right {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(145deg, #071d41, #013769);
  box-shadow: inset 0 -6px 24px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

body.index-page main .bars {
  position: absolute;
  bottom: 20%;
  left: 15%;
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

body.index-page main .bar {
  width: 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--accent-yellow), var(--accent-pink));
  animation: bounce 2s ease-in-out infinite;
}

body.index-page main .bar:nth-child(1) {
  height: 80px;
  animation-delay: 0.2s;
}

body.index-page main .bar:nth-child(2) {
  height: 120px;
  animation-delay: 0.4s;
}

body.index-page main .bar:nth-child(3) {
  height: 150px;
  animation-delay: 0.6s;
}

body.index-page main .bar:nth-child(4) {
  height: 100px;
  animation-delay: 0.8s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

body.index-page main .svg-chart {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 80%;
}

body.index-page main .svg-chart svg {
  width: 100%;
  height: auto;
}

/* Questionnaire extras (scoped tight) */
body.index-page main .card { background: rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 32px; }
body.index-page main .options { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
body.index-page main .options.likert label { background: rgba(255, 255, 255, 0.025); padding: 12px 16px; border-radius: 8px; cursor: pointer; }
body.index-page main .options label { background: rgba(255, 255, 255, 0.025); padding: 12px 16px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; transition: background 0.3s ease; position: relative; z-index: 10; }
body.index-page main .options label:hover { background: rgba(255, 255, 255, 0.1); }
body.index-page main .options label input { margin-right: 12px; cursor: pointer; width: 16px; height: 16px; position: relative; z-index: 11; }
body.index-page main .options label input[type="radio"] { appearance: none; -webkit-appearance: none; -moz-appearance: none; border: 2px solid var(--accent-yellow); border-radius: 50%; background: transparent; width: 18px; height: 18px; margin-right: 12px; cursor: pointer; position: relative; }
body.index-page main .options label input[type="radio"]:checked { background: var(--accent-yellow); border-color: var(--accent-yellow); }
body.index-page main .options label input[type="radio"]:checked::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 8px; height: 8px; border-radius: 50%; background: var(--dark-bg); }
body.index-page main .ghost { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 12px 20px; background: transparent; color: var(--accent-yellow); text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.05); z-index: 1000; position: relative; }
body.index-page main .ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--accent-yellow); }
body.index-page main #nextBtn, body.index-page main #prevBtn, body.index-page main #submitBtn { width: auto; height: auto; border-radius: 8px; padding: 12px 20px; font-size: 0.9rem; background: linear-gradient(145deg, var(--accent-yellow), #e6a02e); color: var(--dark-bg); font-weight: 600; border: none; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(249, 178, 51, 0.3); position: relative; overflow: visible; z-index: 1000; }
body.index-page main #nextBtn::before, body.index-page main #prevBtn::before, body.index-page main #submitBtn::before { display: none; }
body.index-page main #nextBtn:hover, body.index-page main #prevBtn:hover, body.index-page main #submitBtn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(249, 178, 51, 0.4); background: linear-gradient(145deg, #ffc547, var(--accent-yellow)); }

/* Transitions */
body.index-page main .question-container { transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); opacity: 1; transform: translateX(0); position: relative; overflow: hidden; }
body.index-page main .question-fade-out { opacity: 0; transform: translateX(-30px) scale(0.95); }
body.index-page main .question-fade-in { opacity: 1; transform: translateX(0) scale(1); }
body.index-page main .question-slide-out-left { transform: translateX(-100%) scale(0.9); opacity: 0; filter: blur(2px); }
body.index-page main .question-slide-out-right { transform: translateX(100%) scale(0.9); opacity: 0; filter: blur(2px); }
body.index-page main .question-slide-in-left { transform: translateX(-100%) scale(0.9); opacity: 0; filter: blur(2px); }
body.index-page main .question-slide-in-right { transform: translateX(100%) scale(0.9); opacity: 0; filter: blur(2px); }
body.index-page main .question-slide-in-center { transform: translateX(0) scale(1); opacity: 1; filter: blur(0); }

/* Company name & form tweaks */
body.index-page main .company-name-section { margin-bottom: 32px; padding: 20px; background: rgba(255, 255, 255, 0.025); border-radius: 12px; border: 1px solid rgba(249, 178, 51, 0.2); }
body.index-page main .company-name-section label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 1.1rem; color: var(--accent-yellow); }
body.index-page main .company-name-section input[type="text"] { width: 100%; padding: 12px 16px; border: 2px solid rgba(249, 178, 51, 0.3); border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: var(--text-light); font-size: 1rem; font-family: inherit; transition: all 0.3s ease; }
body.index-page main .company-name-section input[type="text"]:focus { outline: none; border-color: var(--accent-yellow); background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 3px rgba(249, 178, 51, 0.1); }
body.index-page main .company-name-section input[type="text"]::placeholder { color: var(--muted); }
body.index-page main ol { margin-top: 24px; }
body.index-page main ol li { margin-bottom: 24px; }
body.index-page main ol li:last-child { margin-bottom: 0; }
body.index-page main ol li label { display: block; margin-bottom: 12px; font-weight: 600; font-size: 1.1rem; line-height: 1.4; }
body.index-page main form > div { margin-top: 32px !important; gap: 16px !important; }


/* Tablet and smaller: below 1200px */
@media screen and (max-width: 1250px) {
  body.index-page main .index-page {
    height: auto;
    min-height: 100vh;
    padding: 3rem 1.5rem;
    background: radial-gradient(circle at 25% 25%, #0a1d42, #082660 70%);
    flex-direction: column;
  }

  body.index-page main .index-page .container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 6rem;
    margin-bottom: 11rem;
    max-width: 90%;
    padding: 1.75rem;
    box-shadow: 0 12px 40px rgba(5, 12, 25, 0.55);
    
    background: rgba(255, 255, 255, 0.02);
  }

  /* Left section: center content and scale text */
  body.index-page main .left {
    align-items: center;
    text-align: center;
  }

  body.index-page main h1 {
    font-size: clamp(1.6rem, 3.8vw, 2rem);
    margin-bottom: 18px;
  }

  body.index-page main p {
    font-size: clamp(1rem, 2.8vw, 1.2rem);
    max-width: 85%;
    margin: 0 auto;
  }

  /* Button grid: 2x2 layout */
  body.index-page main .buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    margin-top: 1.5rem;
  }

  body.index-page main button {
    width: 140px;
    height: 140px;
    font-size: 0.85rem;
  }

  /* Right section: shrink and center visuals */
  body.index-page main .right {
    height: 320px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  body.index-page main .bars {
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
  }

  body.index-page main .bar {
    width: 14px;
  }

  body.index-page main .svg-chart {
    top: 10%;
    right: 0;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Decorative glow orbs soften down */
  body.index-page main .index-page .container::before,
  body.index-page main .index-page .container::after {
    opacity: 0.2;
    filter: blur(45px);
  }


  /* Forms and text areas: shrink padding */
  body.index-page main .company-name-section {
    padding: 16px;
  }

  body.index-page main .company-name-section label {
    font-size: 1rem;
  }

  body.index-page main .company-name-section input[type="text"] {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  body.index-page main .card {
    padding: 24px;
  }

  body.index-page main .options label {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  /* Buttons in forms smaller */
  body.index-page main #nextBtn,
  body.index-page main #prevBtn,
  body.index-page main #submitBtn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}


@media screen and (max-width: 720px) {
  body.index-page main .index-page .container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 13rem;
    margin-bottom: 12rem;
    max-width: 90%;
    padding: 1.75rem;
    box-shadow: 0 12px 40px rgba(5, 12, 25, 0.55);
    background: rgba(255, 255, 255, 0.03);
  }
}

@media screen and (max-width: 600px) {
  body.index-page main .index-page .container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 13rem;
    margin-bottom: 12rem;
    max-width: 90%;
    box-shadow: 0 12px 40px rgba(5, 12, 25, 0.55);
    background: rgba(255, 255, 255, 0.03);
  }
}

@media screen and (max-width: 450px) {
  body.index-page main .index-page .container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 11rem;
    margin-bottom: 12rem;
    max-width: 100%;
    box-shadow: 0 12px 40px rgba(5, 12, 25, 0.55);
    background: rgba(255, 255, 255, 0.03);
  }
}
@media screen and (max-width: 400px) {
  body.index-page main .index-page .container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 10rem;
    margin-bottom: 12rem;
    max-width: 100%;
    box-shadow: 0 12px 40px rgba(5, 12, 25, 0.55);
    background: rgba(255, 255, 255, 0.03);
  }
}


/* Legacy micro screens / ultra-small devices  (≤390px ~ iPhone SE, older Androids)  */
@media screen and (max-width: 370px) {

  /* Container fully fluid, no bleed */
  body.index-page main .index-page .container {
    margin-top: 10rem;
    margin-bottom: 12rem;
    max-width: 100%;
    padding: 1.25rem;
    gap: 2rem;
    border-radius: 14px;
  }

  /* Headings + text scale */
  body.index-page main h1 {
    font-size: 1.3rem;
    line-height: 1.25;
  }

  body.index-page main p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  /* Buttons: single-column stack to fit narrow width */
  body.index-page main .buttons {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body.index-page main button {
    width: 120px;
    height: 120px;
    font-size: 0.8rem;
  }

  /* Right-side visual shrink */
  body.index-page main .right {
    height: 240px;
  }

  body.index-page main .bars {
    bottom: 10%;
    gap: 8px;
  }

  body.index-page main .bar {
    width: 10px;
  }

  body.index-page main .svg-chart {
    width: 95%;
    top: 12%;
  }

  /* Forms and text fields tightened */
  body.index-page main .company-name-section {
    padding: 12px;
  }

  body.index-page main .company-name-section label {
    font-size: 0.95rem;
  }

  body.index-page main .company-name-section input[type="text"] {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  body.index-page main .card {
    padding: 18px;
  }

  body.index-page main .options label {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  /* Small CTA buttons */
  body.index-page main #nextBtn,
  body.index-page main #prevBtn,
  body.index-page main #submitBtn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* Lighten shadows for performance */
  body.index-page main .index-page .container {
    box-shadow: 0 8px 28px rgba(5, 12, 25, 0.5);
  }
}
