:root {
  --dark-navy: #011649;
  --navy-blue: #012671;
  --royal-blue: #005ED9;
  --bright-blue: #005EF4;
  --cyan-teal: #027F7F;
  --teal: #018A89;
  --green: #029C61;
  --bright-green: #02AB79;

  --bg-light: #f4f7fc;
  --text-main: #333333;
  --text-muted: #666666;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 4px 15px rgba(1, 22, 73, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px; 
}

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}

.nav-links li a {
  font-weight: 500;
  color: var(--dark-navy);
  transition: color 0.3s;
  position: relative;
  font-size: 0.95rem;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--royal-blue);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--bright-green);
  transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal-blue), var(--bright-blue));
  color: var(--white);
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 94, 217, 0.3);
  color: var(--white);
}

/* Subpage Header */
.page-header {
  background: linear-gradient(135deg, var(--dark-navy), var(--navy-blue));
  padding: 60px 0;
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header p {
  opacity: 0.8;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  padding: 120px 0 100px;
  background: linear-gradient(135deg, var(--dark-navy), var(--navy-blue));
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(2, 171, 121, 0.1) 0%, rgba(2, 171, 121, 0) 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.eyebrow {
  color: var(--bright-green);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(2, 171, 121, 0.1);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 25px;
  color: var(--white);
  font-weight: 700;
}

.hero h1 span {
  color: var(--bright-green);
}

.hero-desc {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-features {
  margin-bottom: 40px;
}

.hero-features div {
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-features i {
  color: var(--bright-green);
  background: rgba(2, 171, 121, 0.1);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-navy);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(1, 22, 73, 0.03);
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 4px solid transparent;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(1, 22, 73, 0.08);
  border-bottom: 4px solid var(--royal-blue);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 94, 217, 0.08);
  color: var(--royal-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  transition: background 0.3s, color 0.3s;
}

.service-card:hover .service-icon {
  background: var(--royal-blue);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--dark-navy);
  margin-bottom: 15px;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Flow Section */
.flow {
  padding: 100px 0;
  background: var(--white);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.flow-step {
  text-align: center;
  padding: 30px;
  background: var(--bg-light);
  border-radius: 20px;
  position: relative;
  transition: transform 0.3s;
}

.flow-step:hover {
  transform: translateY(-5px);
}

.step-num {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(1, 138, 137, 0.08);
  margin-bottom: 10px;
  display: block;
  line-height: 1;
}

.flow-step h4 {
  font-size: 1.3rem;
  color: var(--teal);
  margin-bottom: 15px;
  font-weight: 600;
}

.flow-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Trust Section */
.trust {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--teal), var(--cyan-teal));
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: center;
}

.trust-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.trust-item p {
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Software Gallery */
.software-gallery {
  padding: 100px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Page Layout Section */
.page-section {
  padding: 80px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-card h3 {
  color: var(--dark-navy);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-navy);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--royal-blue);
}

/* CTA Section */
.cta {
  padding: 100px 0;
  text-align: center;
  background-color: var(--bg-light);
}

.cta h2 {
  font-size: 2.5rem;
  color: var(--dark-navy);
  margin-bottom: 20px;
  font-weight: 700;
}

.cta p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Footer */
footer {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 80px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-about img {
  height: 55px;
  margin-bottom: 20px;
  filter: grayscale(1) invert(1) brightness(10);
  mix-blend-mode: screen;
}

.footer-about p {
  opacity: 0.8;
  max-width: 350px;
  font-size: 0.95rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--bright-green);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a i {
  font-size: 0.8rem;
  color: var(--bright-green);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--bright-green);
  transform: translateX(5px);
}

.footer-contact p {
  opacity: 0.8;
  margin-bottom: 18px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.footer-contact i {
  margin-top: 4px;
  color: var(--bright-green);
  font-size: 1.1rem;
}

.footer-contact a {
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--bright-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.85rem;
}

/* Responsive & Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--dark-navy);
  cursor: pointer;
}

@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-features {
    display: inline-block;
    text-align: left;
  }
  .footer-grid, .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    text-align: center;
    gap: 20px;
  }
  .nav-links.active {
    display: flex;
  }
  .navbar .btn-primary {
    display: none; /* Hide login button on mobile for space, or move to menu */
  }
  .nav-links li a::after {
    display: none; /* Disable underline effect on mobile */
  }
  
  .hero {
    padding: 60px 0;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .page-header {
    padding: 40px 0;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  
  .services, .flow, .trust, .cta, .software-gallery, .page-section {
    padding: 60px 0;
  }
  
  .footer-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .gallery-grid, .services-grid, .flow-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-about p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .btn-primary {
    width: 100%;
    margin-bottom: 10px;
  }
}
