:root {
  --primary-blue: #0056b3;
  --dark-slate: #1a202c;
  --light-gray: #f7fafc;
  --text-main: #2d3748;
  --text-muted: #718096;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 5%; /* Reduced padding to balance the larger logo */
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Massively Increased Logo Size */
nav .logo-img {
  height: 130px; 
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--dark-slate);
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-blue);
}

/* Hamburger Icon Styles */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--dark-slate);
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3 {
  color: var(--dark-slate);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
p { margin-bottom: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover { background-color: #004494; }
.btn-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}
.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: #fff;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

/* Sections & Cards */
.bg-light { background-color: var(--light-gray); }

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Process Flow (Icons & Arrows) */
.process-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}
.process-step {
  flex: 1;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.step-icon {
  width: 50px; 
  height: 50px;
  background: var(--primary-blue); 
  color: #fff;
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 1.5rem; 
  font-weight: bold;
  margin: 0 auto 1rem auto;
}
.process-arrow {
  font-size: 2.5rem; 
  color: var(--primary-blue);
  opacity: 0.5;
}

/* Forms & Tables */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

input, select, textarea {
  padding: 0.75rem;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-size: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background-color: var(--light-gray);
  font-weight: 700;
}

/* Footer */
footer {
  background-color: var(--dark-slate);
  color: #fff;
  padding: 3rem 5%;
  text-align: center;
}

footer img {
  height: 60px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .process-flow { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); margin: 0.5rem 0; }
}

/* Responsive Styles */
@media (max-width: 900px) {
  .process-flow { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); margin: 0.5rem 0; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  nav .logo-img { height: 90px; } 

  /* Fixes the image/text order on mobile */
  .mobile-reverse {
    display: flex;
    flex-direction: column-reverse;
    gap: 3rem;
  }

  /* Mobile Menu Activation */
  .menu-toggle {
    display: flex; /* Shows the hamburger on mobile */
  }

  nav {
    position: relative; /* Anchors the dropdown to the nav bar */
  }

  nav ul.nav-links {
    display: none; /* Hides links by default */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%; /* Pushes the menu right below the nav bar */
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem 0;
  }

  nav ul.nav-links.active {
    display: flex; /* Shows links when hamburger is clicked */
  }

  nav ul.nav-links li {
    text-align: center;
    padding: 1rem 0;
  }
}