
*{margin:0;padding:0;box-sizing:border-box;font-family:'Poppins',sans-serif}
body{background:#0b2c4a;color:#fff}
a{text-decoration:none;color:inherit}
.container{
  width:90%;
  max-width:1200px;
  margin:auto;
  padding:0 20px;  /* ✅ THIS is the key fix */
}

/* slider home page */
.slider{margin-top:80px;height:100vh;position:relative;overflow:hidden}


.slider-overlay{position:absolute;width:100%;height:100%;background:linear-gradient(#0b2c4a,rgba(11,44,74,0.7));z-index:1}
.slide{position:absolute;width:100%;height:100%;display:flex;align-items:center;opacity:0;transition:0.8s}
.slide.active{opacity:1;z-index:2}
.slide:nth-child(1){background:url('images/clinical.jpg') center/cover}
.slide:nth-child(2){background:url('images/neuro.jpg') center/cover}
.slide:nth-child(3){background:url('images/assessment.jpg') center/cover}
.slide:nth-child(4){background:url('images/training.jpg') center/cover}

.slider-content{position:relative;z-index:3;max-width:600px}
.slider h1{font-size:42px}
.slider span{color:#4fd1ff}
.btn{display:inline-block;margin-top:15px;padding:10px 20px;background:#4fd1ff;color:#000;border-radius:6px}







.neuro-flow-simple {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 6px;
  padding: 15px 10px;

  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;

  text-align: center;
}

/* links */
.neuro-flow-simple a {
  color: #00c6ff;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;   /* prevent breaking words */
}

.neuro-flow-simple a:hover {
  color: #ffd54f;
}

/* arrow */
.neuro-flow-simple .arrow {
  color: #ffd54f;
  flex-shrink: 0;
}










/* quick service */
.quick-services {
  padding: 80px 20px;
  background: #f7f9fc;
  text-align: center;
}

.quick-services h2 {
  font-size: 32px;
  color: #0b2c4a;
  margin-bottom: 10px;
}

.quick-services p {
  color: #6b7c93;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #0b2c4a;
  transition: 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card i {
  font-size: 30px;
  margin-bottom: 15px;
  color: #0b2c4a;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-card span {
  font-size: 14px;
  color: #7a8ca5;
}

.service-card:hover {
  transform: translateY(-8px);
  background: #0b2c4a;
  color: #fff;
}

.service-card:hover i {
  color: #ffd700;
}

.service-card:hover span {
  color: #d1d9e6;
}

/* about */
.about-upcr {
  padding: 80px 20px;
  background: #ffffff;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}





.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* makes raw construction look softer */
  filter: grayscale(30%) brightness(0.7);
}

/* Dark gradient overlay */
.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.7),
    rgba(0,0,0,.9)
  );
  z-index: 1;
}

/* Text on image */
.image-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.image-overlay span {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
}

.image-overlay small {
  display: block;
  font-size: 13px;
  opacity: 0.8;
  margin-top: 6px;
}




.about-content h2 {
  font-size: 32px;
  color: #0b2c4a;
  margin-bottom: 15px;
}

.about-content .highlight {
  font-weight: 600;
  color: #0b2c4a;
  margin-bottom: 15px;
}

.about-content p {
  color: #6b7c93;
  line-height: 1.6;
}

.about-features {
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  color: #0b2c4a;
}

.about-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background: #0b2c4a;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.about-stats {
  margin-top: 60px;
  display: flex;
  justify-content: space-around;
  text-align: center;
  background: #f7f9fc;
  padding: 40px 20px;
  border-radius: 10px;
}

.stat h3 {
  font-size: 32px;
  color: #0b2c4a;
}

.stat p {
  color: #7a8ca5;
}

/* featured services */

.featured-services {
  padding: 80px 20px;
  background: #f7f9fc;
  text-align: center;
}

.featured-services h2 {
  font-size: 32px;
  color: #0b2c4a;
}

.featured-services p {
  color: #6b7c93;
  margin-bottom: 40px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.featured-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.featured-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
  text-align: left;
}

.card-content h3 {
  color: #0b2c4a;
  margin-bottom: 10px;
}

.card-content ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 15px;
}

.card-content ul li {
  font-size: 14px;
  color: #6b7c93;
  margin-bottom: 6px;
}

.btn-primary {
  display: inline-block;
  padding: 10px 18px;
  background: #0b2c4a;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.featured-card:hover {
  transform: translateY(-10px);
}



/* Section ghq 12*/
.ghq-test {
  max-width: 550px;
  margin: 60px auto;
  padding: 40px 20px;
  background: #f7f9fc;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', sans-serif;
}

/* Heading */
.ghq-test h2 {
  text-align: center;
  color: #0b2c4a;
  margin-bottom: 30px;
}

/* Question Block */
/* Base question */
.q {
  position: relative;
  background: #fff;
  border-left: 4px solid #0b2c4a;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

/* Answered state */
.q.answered {
  background: #f0f8ff;
  border-left: 4px solid #2a9d8f;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Question text */
.q.answered p {
  color: #2a9d8f;
  font-weight: 600;
}

/* Dropdown highlight */
.q.answered select {
  border: 1px solid #2a9d8f;
  background: #ffffff;
}

/* Check icon */
.q.answered::after {
  content: "✔";
  position: absolute;
  right: 15px;
  top: 15px;
  color: #2a9d8f;
  font-size: 16px;
  font-weight: bold;
}

.q:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Question Text */
.q p {
  margin-bottom: 10px;
  font-weight: 500;
  color: #0b2c4a;
}

/* Select Dropdown */
.q select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #f9fbff;
  cursor: pointer;
  transition: 0.2s;
}

.q select:focus {
  border-color: #0b2c4a;
  outline: none;
}

/* Button */
button {
  display: block;
  width: 100%;
  padding: 14px;
  background: #0b2c4a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #08223a;
}


#submitBtn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Result Box */
#result {
  margin-top: 25px;
  padding: 20px;
  background: #f9fbff;   /* lighter but visible */
  border-radius: 10px;
  border-left: 5px solid #0b2c4a;
  font-size: 16px;
  line-height: 1.8;
}

#result p {
  color: #0b2c4a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}



/* Result Colors */
#result h3 {
  color: #0b2c4a;
  margin-bottom: 10px;
}

.low {
  color: #0b2c4a;
  background: #d1fae5;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.moderate {
  color: #0b2c4a;
  background: #ffe0b2;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.high {
  color: #0b2c4a;
  background: #e3f2fd;   /* soft blue */
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 600;
}

/* Smooth animation */
#result {
  animation: fadeIn 0.5s ease-in-out;
}

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

.progress-bar {
  width: 100%;
  height: 10px;
  background: #e0e6ed;
  border-radius: 20px;
  margin: 20px 0;
  overflow: hidden;
}

#progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0b2c4a, #1e5a8a);
  border-radius: 20px;
  transition: width 0.4s ease;
}


/* ===== consult button after result of test ===== */
.consult-cta {
  margin-top: 20px;
  text-align: center;
}

.consult-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #0b2c4a;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}


/* Responsive */
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.about-container {
    flex-direction: column;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }
.featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media(max-width:768px){
.nav-links{position:absolute;top:60px;left:0;width:100%;background:#061b2e;flex-direction:column;display:none}
.nav-links.active{display:flex}
.menu-toggle{display:block}

.logo-circles{display:flex;gap:6px}
.logo-circles span{width:34px;height:34px;background:#4fd1ff;color:#0b2c4a;font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;border-radius:50%;box-shadow:0 4px 10px rgba(0,0,0,0.3);transition:0.3s}
.logo-circles span:hover{transform:translateY(-3px) scale(1.05)}

.logo-text{
  font-size:10px;
  color:#4fd1ff;
  margin-top:6px; /* ✅ better gap */
  letter-spacing:1px;
}
#typing-text::after{content:"|";margin-left:3px;animation:blink 1s infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}

.hero h1{font-size:28px}
.hero-content{text-align:center}




}
@media (max-width: 600px) {

 .service-grid {
    grid-template-columns: 1fr;
  }

   .featured-grid {
    grid-template-columns: 1fr;
  }

 .ghq-test {
    padding: 25px 15px;
  }

  .q {
    padding: 15px;
  }

  button {
    font-size: 15px;
  }

 .neuro-flow-simple {
    flex-wrap: wrap;   /* allows clean wrapping */
    justify-content: center;
    line-height: 1.8;
  }





}



