/* Import Custom Font */
@font-face {
  font-family: 'Quantify';
  src: url('assets/Quantify.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Arial, sans-serif;
  background-color: #FFFFFF;
  color: #041E42;
  line-height: 1.6;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Quantify', sans-serif;
}
/* Color Palette */
:root {
  --primary: #134FC9;
  --secondary: #FFA400;
  --accent1: #FC4C02;
  --accent2: #009CDE;
  --white: #FFFFFF;
  --dark: #041E42;
}
/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.logo img {
  height: 50px;
}
nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 2rem;
}
nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-weight: bold;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: var(--primary);
}
/* Hero Section (Above the Fold) */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(19, 79, 201, 0.8), rgba(19, 79, 201, 0.8)), url('./assets/qrscan.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 80px; /* Offset for fixed header */
  position: relative;
  padding: 2rem 1rem;
}
.hero .content {
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.hero .btn {
  background: var(--secondary);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-shadow: none;
}
.hero .btn:hover {
  background: var(--accent1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
/* Section Styles */
section {
  padding: 4rem 2rem;
}
section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.8rem;
  color: var(--primary);
}
.content {
  max-width: 1200px;
  margin: auto;
}
.section-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.section-grid > div {
  flex: 1 1 300px;
  background: #F7F9FC;
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.section-grid > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* About Us Section with Two Columns */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.about-grid .about-image {
  flex: 1 1 400px;
}
.about-grid .about-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.about-grid .about-text {
  flex: 1 1 400px;
}
.about-grid .about-text p {
  margin-bottom: 0.5rem;
}
/* Added extra spacing between Our Mission and Our Story */
.about-grid .about-text p.mission {
  margin-bottom: 1rem;
}
/* Solutions Section - Alphabetized */
.solutions-card h3 {
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}
/* Yellow streak/line under solution titles */
.solutions-card h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  margin-top: 0.5rem;
}
/* New CSS for Solutions Section to display cards in two columns with padding and individual boxes */
.solutions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.solutions-grid > .solutions-card {
  flex: 0 1 calc(50% - 2rem);
  background: #F7F9FC;
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.solutions-grid > .solutions-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Team Section */
.team .member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid var(--primary);
}
.team .member {
  text-align: center;
}
/* Partner With Us Section */
.pricing .card {
  border: 2px solid var(--primary);
}
.pricing .card h3 {
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  margin: -2rem -2rem 1rem;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.pricing .card ul {
  list-style: none;
  padding: 1rem;
}
.pricing .card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
}
/* How It Works Section */
.how-it-works .step {
  background: #F7F9FC;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}
.how-it-works .step:hover {
  transform: scale(1.03);
}
/* Subsections for How It Works (Side by Side) */
.subsections {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.subsection {
  flex: 1 1 45%;
  background: #F7F9FC;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  color: #041E42;
}
.subsection h3 {
  color: #041E42;
  margin-bottom: 1rem;
}
.subsection p {
  margin-bottom: 1rem;
}
/* Contact Us Section */
.contact {
  text-align: center;
  padding: 4rem 2rem;
  background: #FFFFFF;
}
.contact p {
  margin-bottom: 1rem;
}
.contact .btn {
  background: var(--secondary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.3s;
}
.contact .btn:hover {
  background: var(--accent1);
}
/* Footer (Below Contact Us) */
footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 2rem;
}
footer img {
  height: 40px;
  margin-bottom: 0.5rem;
}
/* Terms Page Specific Styles */
.terms-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  text-align: left;
}
.terms-content h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}
.terms-content h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}
.terms-content h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  text-align: left;
}
.terms-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
.terms-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}
.terms-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}
.terms-content .intro {
  font-weight: bold;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #F7F9FC;
  border-left: 4px solid var(--primary);
}
.terms-content .section-number {
  font-weight: bold;
  color: var(--primary);
}
/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none; /* Consider using JS to toggle this */
    padding: 1rem;
  }

  nav ul li {
    margin: 1rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero .content {
    text-align: center;
  }

  .hero .content > div:last-child {
    justify-content: center;
  }

  section h2 {
    font-size: 2rem;
  }

  .section-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .solutions-grid > .solutions-card {
    flex: 1 1 100%;
  }

  .about-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .subsections {
    flex-direction: column;
  }

  .subsection {
    flex: 1 1 100%;
    text-align: left;
  }

  .team .member {
    margin-bottom: 2rem;
  }

  .pricing .card {
    margin-bottom: 2rem;
  }

  footer {
    padding: 1rem;
  }

  .content {
    padding: 0 1rem;
  }

  .about-grid .about-text,
  .about-grid .about-image {
    padding: 0 0.5rem;
  }

  #problem .content > div {
    flex-direction: column;
    text-align: center;
  }

  #problem .content > div > div:first-child {
    margin-bottom: 2rem;
  }

  .terms-content {
    padding: 1rem;
  }

  .terms-content h1 {
    font-size: 2rem;
  }

  .terms-content h2 {
    font-size: 1.5rem;
  }

  .terms-content h3 {
    font-size: 1.2rem;
  }
}

/* Left-align lists inside subsections */
.subsection ul {
  text-align: left;
  margin: 0 auto;
  padding-left: 1.5rem;
  list-style-position: outside;
}
.subsection ul li {
  margin-bottom: 0.5rem;
}

