:root {
  --primary-color: #3b4b6b;
  --secondary-color: #ffffff;
  --accent-color: #2b3a55;
  --text-light: #e2e8f0;
  --text-dark: #1e293b;
  --font-heading: 'Merriweather', serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #f8fafc;
}

section {
  scroll-margin-top: 20px;
}

img {
  max-width: 100%;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

/* Header */
.site-header {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
  z-index: 10;
}

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

.logo {
  color: var(--secondary-color);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.2rem;
}

nav a {
  color: var(--secondary-color);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 1;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--primary-color);
  /* Off-centre glow layered over the base gradient adds depth behind the portrait */
  background-image:
    radial-gradient(circle at 75% 30%, rgba(255,255,255,0.13) 0%, transparent 55%),
    linear-gradient(135deg, #4b5b7b 0%, #2b3a55 100%);
  color: var(--secondary-color);
  padding: 140px 0 90px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 70px;
}

.hero-content {
  flex: 1;
}

.subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 20px;
  display: block;
  color: var(--text-light);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn {
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 440px;
}

.hero-photo {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.45);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: -30px;
  background: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 16px;
  padding: 18px 26px;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.25);
  text-align: center;
}

.hero-badge strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  color: var(--primary-color);
  display: block;
}

.hero-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
}

/* Services */
.services {
  padding: 80px 0;
}

.services h2, .team h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* Accent rule under each section heading */
.services h2::after, .team h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background-color: var(--primary-color);
}

.services-categories {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.service-category {
  scroll-margin-top: 24px;
}

.service-category-header {
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px);
  align-items: center;
  gap: 40px;
  margin-bottom: 32px;
}

/* Alternate the photo to the opposite side on every second category */
.service-category:nth-child(even) .service-category-header {
  grid-template-columns: minmax(0, 520px) 1fr;
}

.service-category:nth-child(even) .service-category-intro {
  order: 2;
}

.service-category-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--primary-color);
}

.service-category-header p {
  color: #52627a;
  font-size: 1.05rem;
}

.service-category-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.service-category-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-item {
  background: white;
  padding: 28px 26px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--primary-color);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.10);
}

.service-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.service-item p {
  color: #52627a;
  font-size: 0.95rem;
  margin: 0;
}

/* About */
.about {
  padding: 0 0 80px;
}

.about-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.about-intro {
  flex: 0 0 320px;
  background-image: linear-gradient(160deg, #f8fafc 0%, #eaeff6 100%);
  border-right: 1px solid #e2e8f0;
  padding: 45px 35px;
}

.about-intro h2 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.about-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 14px;
}

.about-content {
  flex: 1;
  padding: 45px;
}

.about-content p + p {
  margin-top: 1.1rem;
}

.credential-list {
  list-style: none;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #d8e0ea;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.credential-list li {
  background-color: white;
  border: 1px solid #d8e0ea;
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
}

/* Team */
.team {
  padding: 80px 0;
  background-color: white;
}

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

.team-member {
  text-align: center;
}

.team-photo {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  outline: 4px solid #eef2f7;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-member:hover .team-photo img {
  transform: scale(1.06);
}

.team-member h3 {
  margin-bottom: 0.25rem;
}

.team-member p {
  color: #64748b;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, #4b5b7b 0%, #2b3a55 100%);
  color: var(--secondary-color);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-content p {
  color: var(--text-light);
}

.footer-contact {
  text-align: right;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

.footer-bottom p {
  color: var(--text-light);
}

@media (max-width: 960px) {
  .service-category-header,
  .service-category:nth-child(even) .service-category-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-category:nth-child(even) .service-category-intro {
    order: 0;
  }
  .about-card {
    flex-direction: column;
  }
  .about-intro {
    flex: 1 1 auto;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 16px 0;
  }
  .site-header .container {
    flex-direction: column;
    gap: 10px;
  }
  .logo {
    font-size: 1rem;
    text-align: center;
  }
  .site-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
  }
  .site-header nav a {
    margin-left: 0;
    font-size: 0.9rem;
  }
  .hero {
    padding: 150px 0 80px;
  }
  .hero-container {
    flex-direction: column;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-buttons {
    gap: 12px;
  }
  .hero-buttons .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  .hero-visual {
    width: 100%;
    max-width: 380px;
  }
  .hero-badge {
    left: 15px;
  }
  .about-intro, .about-content {
    padding: 35px 30px;
  }
  .services h2, .team h2 {
    font-size: 2rem;
  }
  .footer-content {
    flex-direction: column;
  }
  .footer-contact {
    text-align: left;
  }
}
