html {
  scroll-behavior: smooth;
}
/* Headings */

body {
  margin: 0;
  background: #ffffff;
  color: #2c2c2c;
  font-family: "Segoe UI", "SF Pro Display", sans-serif;
}
.hero {
  text-align: center;
  padding: 100px 20px 100px;
  margin-bottom: 5px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 60px;
}

.logo {
  height: 56px;
}

.brand {
  font-size: 36px;
  font-family: "IBM Plex Sans", sans-serif;
  color: #007bff;
  font-weight: 700;
  margin: 0;
  line-height: 65px;
}

.headline {
  font-family: "Poppins", sans-serif;
  font-size: 74px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin: 20px 0 10px;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.subheadline {
  font-size: 74px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #007bff;
  margin: 0;
  line-height: 1.1;
}

.tagline {
  margin-top: 30px;
  font-size: 28px;
  font-family: "SF Pro Display", "Segoe UI", sans-serif;
  color: #2c2c2c;
  max-width: 826px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.topbar {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 16px 32px;
  z-index: 1001;
}
.topbar.shrink {
  padding: 20px 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  opacity: 0.95;
}
.topbar-inner {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  gap: 16px;
}

.topbar-logo {
  height: 50px;
  margin-left: 100px;
  transition: all 0.3s ease;
}

.topbar-message-wrapper {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  margin-left: 20px;
}

.topbar.shrink .topbar-logo {
  width: 50px;
  opacity: 0.85;
}

.topbar-message {
  display: inline-block;
  padding-left: 100%;
  animation: scrollMessage 12s linear infinite;
  font-size: 16px;
  color: #007bff;
  font-weight: 500;
}

.topbar-button {
  font-size: 14px;
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.topbar-button:hover {
  background-color: #0056b3;
}
@keyframes scrollMessage {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .topbar-message {
    font-size: 10px;
    animation-duration: 25s;
  }

  .topbar-button {
    display: none;
  }
}

/* Stats Section starts from here. Always note that*/
.stat-wrapper {
  display: flex;
  justify-content: center;
}

.stats-section {
  padding: 10px 20px 80px;
  background-color: #fff;
  text-align: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  flex-wrap: wrap;
  justify-content: space-between; /* better visual alignment */
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px; /* matches hero container */
  box-sizing: border-box;
}

.stat-card {
  width: 100%;
  max-width: 350px; /* Ensures cards don't stretch too wide */
  height: 180px;
  background-color: rgba(0, 123, 255, 0.05); /* 007BFF @ 5% */
  border: 1px solid #007bff;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  will-change: transform;
}

.stat-card:hover {
  transform: scale(1.05);
}

.stat-value {
  font-size: 48px;
  color: #007bff;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 18px;
  font-weight: 500;
  color: #2c2c2c;
  font-family: "Segoe UI", sans-serif;
}
.stat-card.aos-animate {
  transform: none !important;
}
/* How it works section starts here */
.how-section {
  background: #f9fafe;
  padding: 80px 20px;
  text-align: center;
}

.how-heading {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 60px;
  color: #2c2c2c;
}

.flow-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.flow-step {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  max-width: 280px;
  flex: 1 1 260px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.step-circle {
  background: linear-gradient(135deg, #007bff, #66bfff);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
  color: #2c2c2c;
  font-family: "Poppins", sans-serif;
}

.step-details {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.flow-arrow {
  font-size: 36px;
  margin: 20px auto;
  color: #007bff;
  transition: transform 0.3s ease;
}

.flow-arrow:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .flow-row {
    flex-direction: column;
    align-items: center;
  }
  .flow-step {
    max-width: 90%;
    text-align: center;
  }
  .flow-step ul {
    margin: 0 auto;
    padding-left: 0;
    list-style-position: inside;
  }
  .step-details {
    padding-left: 0;
  }
  .flow-arrow {
    transform: rotate(90deg);
    margin: 20px auto 40px;
  }
}

/* This is the Tally section styling */
.section-heading {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #2c2c2c;
}
.subheading {
  font-size: 22px;
  color: #555;
  margin-bottom: 40px;
}
.tally-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.tally-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  padding: 40px 20px;
}
/* New section called the feature highlight block */
.features-section {
  background-color: rgba(44, 44, 44, 0.03); /* 3% fill */
  border: 0;
  padding: 100px 20px;
  border-radius: 0;
}

.features-container {
  max-width: 1512px;
  margin: 0 auto;
  text-align: center;
}

.features-heading,
.features-subheading {
  color: #2c2c2c;
  max-width: 769px;
  margin-left: auto;
  margin-right: auto;
}

.features-heading {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.features-subheading {
  font-size: 25px; /* slightly smaller */
  line-height: 1.6;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word; /* handle long words */
  overflow-wrap: break-word; /* fallback */
}
@media (max-width: 768px) {
  .features-subheading {
    font-size: 15px;
    padding: 0 16px;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  justify-content: center;
  gap: 40px;
}

.feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 4 8px 16px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  cursor: default;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon img {
  width: 60px;
  height: auto;
  margin-bottom: 20px;
}

.feature-title {
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #2c2c2c;
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  cursor: default;
}
.feature-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background-color: #007bff;
  transition: width 0.3s ease-in-out;
}
.feature-card:hover .feature-title::after {
  width: 100%;
}

.feature-description {
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  color: #444;
  line-height: 1.5;
}

/* Another section called the trust section for testimonials */

.trust-section {
  background-color: #ffffff;
  padding: 100px 20px;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.trust-heading {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 12px;
}

.trust-subheading {
  font-size: 25px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
}

.trust-features {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-card {
  flex: 1;
  min-width: 260px;
  max-width: 340px;
  text-align: center;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  border-radius: 8px;
  background-color: #fff;
  padding: 24px;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15); /* blue glow */
}

.trust-icon {
  margin: 0 auto 20px auto;
}

.trust-icon img {
  width: 80px; /* or whatever size you prefer */
  height: auto;
  transition: transform 0.3s ease;
  will-change: transform;
}

.trust-card:hover .trust-icon img {
  transform: scale(1.1) rotate(2deg);
}

.trust-title {
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #2c2c2c;
  margin-bottom: 10px;
}

.trust-description {
  font-size: 20px;
  min-width: 250;
  max-width: 320px;
  color: #555;
  line-height: 1.6;
}
/* Scroll to Top Button section */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

#scrollToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

#scrollToTopBtn:hover {
  background-color: #0056b3;
}
/*end of scroll to top button section */
/*About section starts here*/
.about-text {
  transition: all 0.4s ease;
  transition: background-color 0.4s ease;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  transition: background 0.3s ease;
  padding: 24px;
}
.about-description {
  opacity: 0.8;
  transform: translateY(0px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.about-text:hover {
  background-color: rgba(65, 157, 254, 0.05); /* soft blue glow */
}

.about-text:hover .about-description {
  opacity: 1;
  transform: translateY(-5px);
}

.about-section {
  position: relative;
  padding: 180px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

.about-section::before {
  background-image: url("img/about_background.png");
  background-position: center center;
}

.about-section::after {
  background-image: url("img/about_innerimage.png");
  background-position: center center;
  mix-blend-mode: overlay; /* blends the second image into the first */
  opacity: 0.7; /* adjust to taste */
}

.about-section::before {
  mix-blend-mode: normal;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.about-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: 35px;
  font-weight: 550;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 18px;
  max-width: 800px;
  line-height: 1.7;
  color: #f1f1f1;
}
/* This section is for the reach us section */
.contact {
  background-color: #ffffff;
  text-align: center;
  padding: 100px 20px;
}

.contact-heading {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 10px;
}

.contact-subtext {
  font-size: 22px;
  font-weight: 400;
  color: #555;
  margin-bottom: 40px;
}

.email-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.email-icon {
  width: 60px;
  height: auto;
}

.email-address {
  font-size: 20px;
  color: #2c2c2c;
  text-decoration: none;
  transition: color 0.3s ease;
}
.email-address:hover {
  color: #007bff;
  text-decoration: underline;
}
/*Call to action CTA section starts here*/
.cta {
  background-color: #007bff;
  padding: 100px 20px;
  text-align: center;
  color: #ffffff;
}

.cta-text {
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 16px 80px;
  background-color: #ffffff;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 15px;
}

.cta-button:hover {
  background-color: #0056b3;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}
/* Here footer starts */
.footer {
  background-color: #092744;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px 40px;
  font-size: 14px;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 40px;
  height: auto;
}

.footer-name {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 25px;
  margin: 0;
}

.footer-tagline {
  margin-top: 8px;
  margin-bottom: 80px;
  font-size: 20px;
  font-weight: 400;
  opacity: 0.85;
}

.footer-disclaimer {
  font-family: SF Pro Display, "Segoe UI", sans-serif;
  margin-top: 30px;
  font-size: 15px;
  opacity: 0.6;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
/* Responsive adjustments for tablets and phones */
@media (max-width: 768px) {
  .headline,
  .subheadline {
    font-size: 38px;
  }

  .tagline {
    font-size: 18px;
    padding: 0 20px;
  }

  .brand {
    font-size: 24px;
    line-height: 40px;
  }

  .logo-block {
    flex-direction: column;
    gap: 10px;
  }

  .topbar {
    padding: 12px 16px;
  }

  .topbar-logo {
    margin-left: 0;
    height: 40px;
  }

  .topbar-message {
    font-size: 14px;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-card {
    height: auto;
    padding: 20px;
  }

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

  .feature-title {
    font-size: 25px;
    max-width: 350px;
  }

  .feature-description {
    font-size: 16px;
  }

  .trust-features {
    flex-direction: column;
    gap: 24px;
  }

  .trust-title {
    font-size: 22px;
  }

  .trust-description {
    font-size: 16px;
    max-width: 90%;
    margin: 0 auto;
  }

  .about-section {
    padding: 100px 16px;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 16px;
  }

  .contact-heading {
    font-size: 28px;
  }

  .contact-subtext {
    font-size: 18px;
  }

  .email-address {
    font-size: 16px;
  }

  .cta-text {
    font-size: 24px;
    padding: 0 16px;
  }

  .cta-button {
    font-size: 14px;
    padding: 14px 40px;
  }

  .footer-name {
    font-size: 20px;
  }

  .footer-tagline {
    font-size: 16px;
  }

  .footer-disclaimer {
    font-size: 14px;
    padding: 0 16px;
  }
}
