:root {
  --blue: #0b2c4d;
  --green: #1bbf5c;
  /* explicit heights so sticky elements stack cleanly */
  --top-bar-height: 40px;
  --ticker-height: 32px;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #000;
}

/* TOP BANNER CSS STARTS */
.top-bar {
  background: var(--blue);
  color: #fff;
  height: var(--top-bar-height);
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar-left {
  display: flex;
  align-items: center;
  animation: slideInLeft 0.8s ease-out;
}

.contact-phone {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
  animation: pop 1.5s ease-in-out infinite;
}

.contact-phone:hover {
  transform: scale(1.10);
}

@keyframes pop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.10);
  }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.social-icons a {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 0.7;
}

.social-icons img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 6px;
    height: auto; /* allow multiple lines on small screens */
    padding: 8px 16px;
    text-align: center;
  }

  .top-bar-left,
  .top-bar-right {
    justify-content: center;
  }

  .top-bar-right span {
    font-size: 12px;
  }

  .social-icons img {
    width: 20px;
    height: 20px;
  }

  .ticker-container {
    position: static;
    padding: 6px 10px;
    text-align: center;
  }

  .ticker {
    animation: none;
  }

  header {
    position: static;
    padding: 10px 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  header img {
    height: 56px;
    flex-shrink: 0;
  }

  /* show nav toggle icon on mobile */
  .nav-toggle {
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 10;
    position: relative;
    flex-shrink: 0;
    min-width: 42px;
    min-height: 42px;
    font-size: 20px;
    color: #000;
  }

  /* collapse nav by default on mobile – elegant panel aligned to right (under hamburger) */
  header nav {
    display: none !important;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    min-width: 210px;
    background: #f9fafb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
    margin-top: 6px;
    padding: 10px 10px;
    border-radius: 12px 0 0 12px; /* opens from right towards left */
    border: 1px solid rgba(15, 23, 42, 0.08);
  }

  header.nav-open nav {
    display: block !important;
  }

  /* outlined chevron icon: down (closed) → up (open) */
  .nav-toggle::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg); /* points down */
    transition: transform 0.25s ease;
    box-sizing: border-box;
  }

  /* rotate to make it point up when menu is open */
  header.nav-open .nav-toggle::before {
    transform: rotate(-135deg); /* points up */
  }

  nav a {
    display: block;
    margin: 4px 0;
    padding: 8px 0px;
    font-size: 14px;
    text-align: left;
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
  }

  nav a:hover {
    background: #e5f3ff;
    color: #0b2c4d;
  }

  nav a:active {
    background: #d0e7ff;
  }
}

.ticker-container {
  background: #1d66ae;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 8px 0;
  /* keep ticker visually under the top bar without its own sticky offset
     so it doesn't jump up to the very top while scrolling */
  position: relative;
  top: 0;
  z-index: 99;
}

.ticker {
  display: inline-flex;
  align-items: center;
  animation: tickerMove 22s linear infinite;
}

.ticker-item {
  padding-right: 120px; /* space between repetitions */
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* TOP BANNER CSS ENDS */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 0px 50px;
  top: 0;
  background: #fff;
  z-index: 98;
}

header img {
  height: 75px;
}

nav {
  display: flex;
  gap: 24px;
}

/* desktop nav links */
nav a {
  padding-left: 8px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

/* hamburger button - hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: #000;
  transition: transform 0.25s ease, opacity 0.25s ease;
  border-radius: 2px;
}

section {
  padding: 72px 50px;
}

.full-width-section {
  padding: 72px 0px;
}

.blue {
  background: var(--blue);
  color: #fff;
}

h2,
h3 {
  text-align: center;
}

/* ABOUT US – ELEGANT LAYOUT */
#about {
  position: relative;
  overflow: hidden;
}

/* Anchor scroll offset for all main sections linked in nav */
#about,
#home,
#services,
#testimonials,
#contact {
  scroll-margin-top: 160px;
}

#about h2 {
  position: relative;
  letter-spacing: 0.1em;
  font-size: 22px;
  margin-bottom: 26px;
}

#about h2::after {
  content: "";
  display: block;
  width: 68px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #ffffff, #1bbf5c);
  border-radius: 999px;
}

.about-text {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.9;
  text-align: left;
  color: #f3f4f6;
}

.about-text strong {
  color: #ffffff;
  font-weight: 700;
}

.about-text::first-line {
  font-weight: 500;
}

@media (max-width: 768px) {
  #about {
    padding: 56px 26px;
  }

  .about-text {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* ===== HERO SLIDESHOW CSS ===== */
.slideshow {
  max-width: 1100px;
  margin: 40px auto;
  position: relative;
}

.home-slide {
  display: none;
  text-align: center;
}

.slideshow img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.caption {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 14px 22px;
  font-size: 22px;
  font-weight: 700;
  border-radius: 6px;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  border-radius: 4px;
}

.next {
  right: 0;
}

/* ===== HERO ENHANCEMENTS ===== */
.hero-wrap {
  display: flex;
  gap: 28px;
  align-items: stretch;
  max-width: 1500px;
  margin: 60px auto;
}

.hero-left {
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-box {
  flex: 1;
  padding: 32px;
  border-radius: 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.hero-box.black {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.85) 0%, rgba(30, 30, 30, 0.75) 60%, rgba(50, 50, 50, 0.65) 100%);
}

.hero-box.blue {
  background: linear-gradient(145deg, #0b2c4d 0%, #154a7a 60%, #1b66a8 100%);
}

.hero-right {
  width: 58%;
  position: relative;
}

.hero-right img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.hero-caption {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 14px 22px;
  font-size: 22px;
  font-weight: 700;
  border-radius: 6px;
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  border-radius: 4px;
}

.hero-next {
  right: 0;
}

/* WHY - ELEGANT FEATURE LIST */
.why-section {
  max-width: 960px;
  margin: 0px auto;
}

.why-heading {
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.why-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #0b2c4d, #1bbf5c);
  border-radius: 999px;
}

/* SERVICES HEADING UNDERLINE */
#services h2 {
  position: relative;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

#services h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #0b2c4d, #1bbf5c);
  border-radius: 999px;
}

.why {
  list-style: none;
  padding: 22px 24px;
  margin: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
  font-size: 17px;
}

.why li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  line-height: 1.6;
}

.why span {
  color: var(--green);
  font-weight: 700;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===== PREMIUM SERVICES (NEW) ===== */
.premium-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: linear-gradient(145deg, #0b2c4d 0%, #154a7a 60%, #1b66a8 100%);
  color: #fff;
  border-radius: 14px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease, translate 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.55);
}

.service-card img {
  width: 100px;
  max-width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

/* CREDIBILITY BAR – ELEGANT + RESPONSIVE */
.credibility {
  max-width: 1000px;
  margin: 56px auto 40px;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, #eff6ff 0%, #ffffff 55%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  text-align: center;
}

.cred-card {
  padding: 10px 12px;
}

.cred-card i {
  font-size: 34px;
  color: #0b2c4d;
  margin-bottom: 8px;
}

.cred-number {
  font-size: 30px;
  font-weight: 800;
  color: #0b2c4d;
  margin: 4px 0;
}

.cred-label {
  font-size: 15px;
  font-weight: 600;
  color: #1f2933;
}

/* ===== RESPONSIVE LAYOUT TWEAKS ===== */
@media (max-width: 1024px) {
  section {
    padding: 64px 32px;
  }

  .full-width-section {
    padding: 64px 0px;
  }

  .hero-wrap {
    gap: 20px;
    margin: 40px auto;
  }

  .hero-box {
    padding: 26px;
    font-size: 17px;
  }

  .hero-caption {
    font-size: 18px;
    padding: 10px 18px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 52px 20px;
  }

  .full-width-section {
    padding: 52px 0px;
  }

  .hero-wrap {
    flex-direction: column;
    margin: 32px auto 40px;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-box {
    padding: 22px 18px;
    font-size: 16px;
  }

  .hero-caption {
    left: 16px;
    right: 16px;
    font-size: 17px;
    text-align: center;
  }

  .hero-prev,
  .hero-next {
    padding: 10px;
    font-size: 20px;
  }

  .why {
    padding: 0 4px;
    font-size: 16px;
  }

  .premium-services {
    gap: 22px;
    margin-top: 36px;
  }

  .service-card {
    padding: 26px 18px;
  }

  .why-section {
    margin: 32px 12px 6px;
    padding: 0 4px;
    padding-top: 20px;
  }

  .why {
    padding: 18px 16px;
    font-size: 16px;
  }

  .credibility {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px 18px;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  
  section {
    padding: 44px 16px;
  }
  
  .full-width-section {
    padding: 44px 0px;
  }

  .hero-box {
    font-size: 15px;
  }

  .about-text {
    font-size: 15px;
  }

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

  .service-card p {
    font-size: 14.5px;
  }

  .why {
    font-size: 15px;
    padding: 16px 14px;
  }

  .credibility {
    grid-template-columns: 1fr;
    margin: 40px 18px 32px; /* left-right gap from screen edge */
    padding: 20px 18px;
  }

  .cred-number {
    font-size: 26px;
  }

  .cred-label {
    font-size: 14px;
  }
}

/* FOOTER */
footer {
  background: var(--blue);
  color: #fff;
}

.site-footer {
  padding: 32px 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  font-size: 14.5px;
}

.footer-column {
  min-width: 0;
}

.footer-location img {
  width: 200px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  display: block;
}

.footer-map-caption {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.8;
}

.footer-company {
  text-align: left;
}

.footer-company h3,
.footer-company h4 {
  text-align: left;
  margin: 0 0 8px 0;
}

.footer-company p {
  margin: 6px 0;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-separator {
  opacity: 0.7;
}

.footer-services h4 {
  margin: 0 0 10px 0;
  font-size: 15.5px;
}

.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-services li {
  margin: 4px 0;
  line-height: 1.5;
}

footer p {
  margin: 10px 0;
}

@media (max-width: 900px) {
  .site-footer {
    padding: 32px 24px;
    gap: 24px;
  }

  .footer-company h3 {
    font-size: 16px;
    text-align: left;
  }

  .footer-services h4 {
    font-size: 15px;
  }
}

@media (max-width: 700px) {
  .site-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    align-items: flex-start;
    text-align: left;
  }

  .footer-location {
    text-align: left;
  }

   /* "We Help You Recover" spans full width on the second row */
  .footer-services {
    grid-column: 1 / -1;
  }

  .footer-location img {
    width: 180px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 28px 18px 36px;
    font-size: 13.5px;
  }

  .footer-contact {
    font-size: 13.5px;
  }

  .footer-company h3 {
    font-size: 15.5px;
    text-align: left;
  }
}

/* POPUP OVERLAY */
.eq-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-out;
  padding: 0 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* POPUP BOX */
.eq-popup {
  background: linear-gradient(145deg, #ffffff 0%, #eef1f7 100%);
  color: #111827;
  padding: 40px 36px;
  width: 90%;
  max-width: 500px;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.35);
  animation: eq-drop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* DROP ANIMATION */
@keyframes eq-drop {
  from {
    transform: translateY(-40px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.eq-popup h3 {
  text-align: center;
  margin: 0 0 10px 0;
  font-size: 26px;
  font-weight: 700;
  color: #020617;
  letter-spacing: -0.4px;
}

.eq-popup p {
  text-align: center;
  margin: 0 0 28px 0;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
}

.eq-popup p b {
  font-weight: 700;
  font-size: 16px;
  color: #111827;
}

.eq-popup form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eq-popup input {
  width: 100%;
  padding: 13px 15px;
  margin: 0;
  border: 1px solid rgba(15, 23, 42, 0.6);
  border-radius: 10px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.eq-popup input::placeholder {
  color: #9ca3af;
}

.eq-popup input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35),
    0 8px 20px rgba(15, 23, 42, 0.15);
}

.eq-popup button {
  width: 100%;
  padding: 15px 22px;
  margin: 16px 0 0 0;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue), #00b0ff);
  color: #fff;
  transition: all 0.22s ease;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: "Segoe UI", Arial, sans-serif;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45);
}

.eq-popup button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
  filter: brightness(1.05);
}

.eq-popup button:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
}

.eq-close {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 20px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #4b5563;
  transition: all 0.2s ease;
  line-height: 1;
  font-weight: 400;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.eq-close:hover {
  background: rgba(148, 163, 184, 0.22);
  transform: translateY(-1px);
  color: #020617;
}

/* Responsive Design */
@media (max-width: 600px) {
  .eq-popup {
    padding: 30px 22px;
    max-width: 95%;
    border-radius: 16px;
  }

  .eq-popup h3 {
    font-size: 22px;
  }

  .eq-popup p {
    font-size: 14px;
  }

  .eq-popup input,
  .eq-popup button {
    padding: 12px 13px;
    font-size: 14px;
  }
}