*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


:root {
  --bg-main: #ffffff;
  --bg-card: #F5F7FA;

  --text-main: #003057;      /* Checkatrade dark navy */
  --text-muted: #6c757d;

  --accent: #009FE3;         /* Checkatrade blue */
  --accent-hover: #007BB3;

  --accent-red: #D71920;     /* Checkatrade red */
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  
}

/* Header */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F5F7FA;
  border-bottom: 3px solid var(--accent);
  padding: 15px 20px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
}
img {
  width: 200px;
  height: 200px;
  margin-top: 20px;

}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
}
.nav-links a:hover {
  color: var(--accent-red);
}

/* Hero */

.hero {
  background: linear-gradient(to bottom right, #009FE3, #007BB3);
  color: white;
  padding: 100px 20px;
  text-align: center;
  border-radius: 0 0 20px 20px;

}
.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero p {
  color: rgba(255,255,255,0.9);
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.hero img {
  max-width: 450px;
  border-radius: 12px;
}
.hero-text {
  max-width: 700px;
  margin: 0 auto;
}
.trust {
  color: rgba(255,255,255,0.85);
}


/* Buttons */
.cta-button {
  background: var(--accent);
  color: white;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.cta-button:hover {
  background: var(--accent-hover);
}
.cta-button.small {
  padding: 8px 14px;
  font-size: 14px;
}
.cta-button.call {
  background: var(--accent-red);
}
.secondary-button {
  border: 2px solid white;
  color: white;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
/* Services */

.services {
  padding: 80px 0;
  background: #ffffff;
}
.services h2 {
  text-align: center;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e2e6ea;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card p {
  margin: 10px 0 20px;
  color: var(--text-muted);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
/* Features */

.features {
  padding: 80px 0;
  background: #F5F7FA;
}
.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 20px;
}
.features-grid h3 {
  color: var(--accent);
  font-weight: 700;
}
.features-grid p {
  color: var(--text-muted);
}

/* CTA */
.cta-strip {
  text-align: center;
  padding: 80px 20px;
  background: var(--accent);
  color: white;
}

.cta-strip p {
  color: rgba(255,255,255,0.9);
}
/* Footer */

footer {
  background: var(--text-main);
  color: white;
  text-align: center;
  padding: 20px;
  border-top: 4px solid var(--accent);
}
/* Responsive */
@media (max-width: 600px) {
  header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 10px;
  }

  .logo {
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    width: 80px;
    height: auto;
  }

  .logo span {
    font-size: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
}
