* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #f5f7fb;
  color: #333;
}

.container {
  width: 1200px;
  max-width: 95%;
  margin: auto;
}

/* HEADER */
header {
  background: linear-gradient(90deg, #1e3c72, #2a5298);
  padding: 20px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 140px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* HERO */
.qsn-hero {
  position: relative;
  padding: 100px 0;
  text-align: center;

  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab') no-repeat center/cover;
}

.qsn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.7)
  );
}

.qsn-hero .container {
  position: relative;
  z-index: 2;
}

.qsn-hero h1 {
  font-size: 44px;
  color: #031e4e;
}

.qsn-hero p {
  color: #2b2d2f;
  margin-top: 10px;
}

/* SECTIONS */
section {
  padding: 80px 0;
}

h2 {
  color: #1e3c72;
  margin-bottom: 20px;
}

p {
  color: #666;
  line-height: 1.7;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* 2 COLUMN */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* INTRO IMAGE */
.intro-img img {
  width: 100%;
  border-radius: 12px;
}

/* MISSION */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.mission-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.mission-card:hover {
  transform: translateY(-5px);
}

/* CARDS */
.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* COMPANY HOVER */
.group .card:hover {
  background: #2a5298;
  color: white;
}

.card p:hover{
  color: white;
}


/* TIMELINE */
.timeline-line {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  position: relative;
}

.timeline-line::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2a5298;
}

.timeline-item {
  text-align: center;
  position: relative;
  width: 100%;
}

.timeline-item span {
  display: inline-block;
  background: #2a5298;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* VALUES */
.values .card {
  font-weight: 600;
}

.values .card:hover {
  background: #2a5298;
  color: white;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #1e3c72, #2a5298);
  color: white;
  padding: 30px 0;
  text-align: center;
}

footer p{
  color: white;
}

footer .text{

  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;
  gap: 20px;

}