* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Checkatrade-Style Header */
.checkatrade-style-header {
  background: #f9f9f9;
  padding: 40px 0;
  border-bottom: 1px solid #ddd;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.header-photo {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.header-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  width: 80px;
  background: white;
  padding: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  border-radius: 4px;
}

.header-profile {
  flex: 1;
  min-width: 260px;
}

.header-profile h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.header-profile .rating {
  font-size: 1.2rem;
  color: #f39c12;
  font-weight: bold;
}

.header-profile .rating span {
  font-weight: normal;
  font-size: 0.95rem;
  color: #666;
  margin-left: 5px;
}

.header-profile .location,
.header-profile .member-since {
  font-size: 0.95rem;
  color: #777;
  margin: 4px 0;
}

.contact-buttons {
  margin-top: 15px;
}

.contact-buttons .btn {
  display: inline-block;
  margin-right: 10px;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contact-buttons .quote-btn {
  background: #e63946;
}

.contact-buttons .share-btn {
  background: #007bff;
}

/* Navigation Tabs */
.tabs {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  margin-top: 20px;
}

.tabs a {
  text-decoration: none;
  color: #333;
  padding: 10px 20px;
  margin-right: 10px;
  font-size: 1rem;
  transition: border-bottom 0.3s;
}

.tabs a.active,
.tabs a:hover {
  border-bottom: 2px solid #007bff;
}

/* Tab Content */
.tab-content {
  padding: 30px 0;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

ul li {
  margin-bottom: 10px;
  padding-left: 1.5em;
  position: relative;
}

ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #28a745;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .tabs a {
    display: block;
    margin: 10px 0;
  }

  .header-photo {
    width: 100%;
    height: auto;
  }

  .logo-overlay {
    width: 60px;
    bottom: 10px;
    left: 10px;
  }
}
