/* Global Resets & Font Smoothing */
:root {
  --primary-blue: #0A74DA;
  --accent-green: #2ECC71;
  --dark-text: #2c3e50;
  --light-text: #ffffff;
  --body-text: #59616d;
  --light-bg: #f8f9fa;
  --dark-bg: #2c3e50;
  --border-color: #e1e4e8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--body-text);
  line-height: 1.6;
  background-color: var(--light-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-text);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.section {
  padding: 80px 0;
}

.section-light-bg {
  background-color: var(--light-bg);
}

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

/* Content list styling */
.section .container ul {
  list-style-position: outside;
  padding-left: 20px;
  margin-bottom: 1rem;
}

.section .container ul li {
  margin-bottom: 0.5rem;
}

/* Navigation Bar */
.navbar {
  background-color: var(--light-text);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.85);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark-text);
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 38px;
  width: auto;
}

.navbar-logo:hover {
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: var(--body-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
  text-decoration: none;
}

.nav-link.active {
  color: var(--primary-blue);
  font-weight: 700;
}


/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: #0861b6;
  text-decoration: none;
  color: var(--light-text);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--light-text);
  text-decoration: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('images/Header-Picture.jpg') no-repeat center center/cover;
  color: var(--light-text);
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  color: var(--light-text);
  font-size: 4rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 1rem auto 2rem;
  opacity: 0.9;
}

.page-hero {
  padding: 80px 0;
  background-color: var(--light-bg);
  text-align: center;
}

.page-hero h1 {
  font-size: 3.5rem;
}

/* Grid System */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--light-text);
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(255, 253, 253, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-green);
}

.card-content {
  flex-grow: 1;
}

/* Process Section */
.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.process-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--accent-green);
  line-height: 1;
  margin-right: 1.5rem;
}

.process-content h3 {
  margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-blue);
  color: var(--light-text);
  border-radius: 10px;
  padding: 50px;
}

.cta-section h2 {
  color: var(--light-text);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-text);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(10, 116, 218, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: #bdc3c7;
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--light-text);
  margin-bottom: 1rem;
}

.footer-logo img {
  max-width: 200px;
  width: 100%;
  height: auto;
  filter: invert(1);
}

.footer h4 {
  color: var(--light-text);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #bdc3c7;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--light-text);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #3d566e;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }

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

  h2 {
    font-size: 2rem;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    /* Simplification for example; a real site would use a hamburger menu */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .process-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* --- Image Zoom on Hover Effect --- */
.card-image-wrapper {
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  margin: -2rem -2rem 1.5rem -2rem;
}

.card-image-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease-in-out;
}

.card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

/* --- Logo Scroller Section --- */
#logo-cloud {
  padding: 60px 0;
}

.logo-scroller {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.logo-scroller .logo-list {
  display: flex;
  list-style: none;
  padding-left: 0; /* Override default ul padding */
  animation: scroll 35s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-scroller .logo-list li {
  font-size: 1.5rem;
  font-weight: 700;
  color: #aab2bd; /* Muted color */
  padding: 0 2.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (prefers-reduced-motion) {
  .logo-scroller .logo-list {
    animation-play-state: paused;
  }
}