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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'EB Garamond', serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #06c;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: #243551;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  height: 100px;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a,
.main-nav .dropdown > span {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.main-nav a:hover {
  text-decoration: underline;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #243551;
  min-width: 200px;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: #fff;
}

.dropdown-content a:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

/* Page Header for internal pages */
.page-header {
  background: #243551;
  color: #fff;
  padding: 80px 0 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5em;
  color: #fff;
}

.page-header a {
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  padding: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  /*text-shadow: 2px 2px 4px rgba(0,0,0,0.5);*/
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: #fff;
}

.hero h2 {
  font-size: 1.5em;
  font-weight: 300;
  color: #fff;
}

/* Content Sections */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #243551;
}

section p {
  margin-bottom: 15px;
}

/* Intro Section */
.intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.intro img {
  width: 100%;
  border-radius: 8px;
}

/* Chartered Surveyor Section */
.chartered-surveyor {
  background: #f5f5f5;
}

.chartered-surveyor .container {
  max-width: 900px;
  text-align: center;
}

/* Services Preview */
.services-preview .services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.services-preview img {
  width: 100%;
  border-radius: 8px;
}

/* CTA Sections */
.services-cta,
.contact-cta {
  background: #f5f5f5;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-grid img {
  width: 100%;
  border-radius: 8px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #243551;
  color: #fff;
  border-radius: 5px;
  margin-top: 15px;
  margin-right: 15px;
  font-weight: 500;
}

.btn:hover {
  background: #243551;
}

.btn-link {
  display: inline-block;
  padding: 12px 30px;
  color: #243551;
  margin-top: 15px;
  font-weight: 500;
}

/* Benefits Grid */
.benefits {
  background: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.benefit-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.benefit-item h3 {
  color: #243551;
  margin-bottom: 10px;
  font-size: 1.3em;
}

/* Final CTA */
.final-cta {
  background: #243551;
  color: #fff;
  text-align: center;
}

.final-cta h2 {
  color: #fff;
}

.final-cta a {
  color: #fff;
  text-decoration: underline;
}

/* Package Step Sections (for Full/Partial/Bespoke Package pages) */
.package-step {
  padding: 60px 0;
}

.package-step.alt {
  background: #f5f5f5;
}

.package-step .content-grid.reverse {
  grid-template-columns: 1fr 1fr;
}

.package-step h2 {
  margin-bottom: 20px;
}

/* Legal Content (for Terms and Privacy pages) */
.legal-content {
  padding: 60px 0;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  color: #2c5f6f;
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal-content h2:first-of-type {
  margin-top: 20px;
}

.legal-content em {
  color: #666;
  display: block;
  margin-bottom: 30px;
  padding: 15px;
  background: #f5f5f5;
  border-left: 4px solid #2c5f6f;
}

/* Footer */
.site-footer {
  background: #282828;
  color: #fff;
  padding: 60px 0 30px;
}

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

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-links h4 {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.footer-links a {
  display: block;
  color: #fff;
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-accreditation img {
  height: 80px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .main-nav {
    flex-direction: column;
    gap: 15px;
  }

  .intro .container,
  .services-preview .services-grid,
  .cta-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero h1 {
    font-size: 2em;
  }

  .hero h2 {
    font-size: 1.2em;
  }
}

/* Contact Form */
.contact-form-section {
  background: #f5f5f5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2c5f6f;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #243551;
}

.form-group textarea {
  resize: vertical;
}

.form-note {
  margin-top: 20px;
  font-size: 0.9em;
  color: #666;
}

/* About page styles */
.founder-section,
.why-choose {
  padding: 60px 0;
}

.founder-section {
  background: #f5f5f5;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.content-grid img {
  width: 100%;
  border-radius: 8px;
}

.qualifications {
  background: #f5f5f5;
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.qual-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.qual-item h3 {
  color: #243551;
  margin-bottom: 10px;
}

.cta-section {
  background: #243551;
  color: #fff;
  text-align: center;
  padding: 60px 0;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 20px;
}

.cta-section a {
  color: #fff;
}

/* Services page styles */
.services-overview {
  padding: 60px 0;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  padding: 20px 20px 10px;
  color: #243551;
}

.service-card p {
  padding: 0 20px 20px;
}

.service-card .btn {
  margin: 0 20px 20px;
}

.package-detail {
  padding: 60px 0;
}

.package-detail.alt {
  background: #f5f5f5;
}

.package-detail h3 {
  color: #243551;
  margin-top: 20px;
  margin-bottom: 10px;
}

.who-we-help {
  background: #fff;
  padding: 60px 0;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.help-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.help-item h3 {
  color: #243551;
  margin-bottom: 10px;
}

.help-item ul {
  margin: 15px 0;
  padding-left: 20px;
}

.help-item li {
  margin-bottom: 8px;
}

/* Testimonials page styles */
.testimonials {
  padding: 60px 0;
}

.testimonial {
  margin-bottom: 40px;
  padding: 30px;
  background: #f5f5f5;
  border-radius: 8px;
}

.testimonial blockquote {
  margin: 0;
}

.testimonial p {
  font-size: 1.1em;
  line-height: 1.7;
  font-style: italic;
  color: #333;
  margin-bottom: 15px;
}

.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: #243551;
}

/* Why use a buying agent page styles */
.reasons {
  padding: 60px 0;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.reason-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.reason-item h3 {
  color: #243551;
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .main-nav {
    flex-direction: column;
    gap: 15px;
  }

  .intro .container,
  .services-preview .services-grid,
  .cta-grid,
  .contact-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

  .package-step .content-grid.reverse {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    font-size: 2em;
  }

  .hero h2 {
    font-size: 1.2em;
  }
}

@media (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
  }

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

  section {
    padding: 40px 0;
  }
}
