/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Header Styles */
header {
  background: #0056b3;
  color: #fff;
  padding: 20px 0;
}

/* target the actual wrapper in your HTML */
header .header-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* logo + title at left */
  padding: 10px 0;              /* tweak header height if needed */
}

/* CSS-built logo */
.css-logo-link {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  margin-right: 15px;           /* space between logo and title */
}

.css-logo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows:    1fr 1fr;
  width: 56px;
  height: 56px;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  line-height: 1;
}

.square {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  box-sizing: border-box;
}
.tl, .br { background: #002b5c; }
.tr, .bl { background: #000; }

/* Site title */
header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #fff;
  margin-right: 30px;           /* space between title and nav */
}

/* Nav */
header nav {
  margin-left: auto;            /* push nav to the right */
  display: flex;
  gap: 20px;                    /* uniform spacing */
}

header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  /* removed individual margin-left */
}


/* Hero Section */
.hero {
  background: #f4f6f8;
  padding: 60px 0;
  text-align: center;
}
.hero h1 {
  color: #002b5c;
  font-size: 2.5rem;
}
.hero p {
  color: #555;
  font-size: 1.1rem;
}

/* About Section */
#about {
  padding: 0px 0;
}
#about h2 {
  color: #002b5c;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}
#about p {
  max-width: 800px;
  margin: 0 auto 15px;
  color: #555;
  font-size: 1rem;
}

/* Core Values Section */
#values {
  padding: 0px 0;
  text-align: center;             /* center heading */
}

#values h2 {
  color: #002b5c;
  font-size: 2rem;
  margin-bottom: 30px;
}

#values .grid {
  display: grid;
  /* two columns, with some horizontal gap */
  grid-template-columns: repeat(2, 1fr);
  column-gap: 60px;
  /* two rows, with a healthy vertical gap */
  row-gap: 50px;
  max-width: 800px;
  margin: 0 auto;
}

#values .item {
  /* turn each card into a centered column */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ensure the icon sits above the title, with consistent spacing */
#values .item img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;  /* space between icon and h3 */
}

/* optional: tighten up the title-to-paragraph gap */
#values .item h3 {
  margin-bottom: 10px;
}
#values .item p {
  max-width: 280px;      /* keep lines from getting too wide */
  margin: 0;
}

/* Clients Section */
#clients {
  background: #e0e0e0;
  padding: 0px 0;
  overflow: hidden;
}
#clients h2 {
  color: #002b5c;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}
.clients-scroll {
  display: flex;
  width: max-content; 
  gap: 20px;         /* let it size to all tiles */
  animation: scroll-left 40s linear infinite;
}

/* keyframes for the infinite scroll */
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
#clients .client-tile {
  flex: 0 0 auto;
  background: #f4f6f8;
  padding: 15px 25px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-size: 0.95rem;
  color: #333;
}

/* Footer Styles */
footer {
  background: #0056b3;
  color: #fff;
  padding: 20px 0;
  margin-top: auto;  /* pushes footer to page bottom in flex layouts */
}

/* apply to both wrapper classes inside footer */
footer .container,
footer .footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;        /* uniform spacing between items */
}

footer a {
  color: #fff;
  text-decoration: none;
  /* no need for individual margin-rights if using gap */
}



