/* Base page styling */
html {
  scroll-behavior: smooth;
  font-size: 130%;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #000;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
}

/* Logo */
.logo {
  font-weight: 700;
  line-height: 1.2;
  width: 10px;
  font-size: 1.3rem;
}
.logo span:first-child {
  color: #ff007f;
  display: block;
}

/* Navigation */
nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

/* Section spacing */
section {
  padding: 3rem 1.5rem;
}

/* Hero section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
}
.hero img {
  max-width: 600px;
  margin: 0;
}

/* Headings & buttons */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
}
.cta-button {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: #ff007f;
  color: #fff;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 999px;
  cursor: pointer;
}

/* Testimonial (hidden by rule below) */
.testimonial {
  margin-top: 4rem;
  background-color: #f7f7f7;
  padding: 3rem 2rem;
  text-align: center;
}
.testimonial p {
  font-size: 1.2rem;
  font-style: italic;
}
.testimonial strong {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
}

/* Our Work (hidden by rule below) */
#work {
  margin-top: 2rem;
  text-align: center;
}

/* Services grid */
.section-grey {
  background-color: #f7f7f7;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.service-card {
  padding: 2rem;
  background-color: #fff;
  border: 3px solid #000;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  border-color: #ff007f;
  box-shadow: 0 0 20px 6px #ff007f55, 0 8px 24px rgba(0,0,0,0.15);
}
.service-icon {
  font-size: 2rem;
  color: #ff007f;
  margin-bottom: 1rem;
}
.service-card h2 {
  margin-top: 0;
  font-size: 1.75rem;
}
.service-card p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #333;
}

/* About section */
.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1rem;
}
.about-section img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
}
.about-content {
  max-width: 600px;
  text-align: left;
  margin: 0;
  padding: 0.5rem 0;
}
@media (min-width: 768px) {
  .about-section {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6rem;
  }
}

/* Contact form */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 1rem auto;
}
input, textarea, button {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}
button[type="submit"] {
  background-color: #ff007f;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* Hide testimonial & work sections */
.testimonial,
#work {
  display: none;
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
  html {
    font-size: 120%;
  }
  header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
  }
  .logo {
    width: auto;
    font-size: 1.5rem;
  }
  nav {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav a {
    margin: 0.5rem;
  }
  .hero {
    padding: 2rem 1rem;
  }
  .hero img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  h1 {
    font-size: 2rem;
  }
  .cta-button {
    width: 100%;
    max-width: 90%;
    padding: 1rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .about-section {
    padding: 1rem;
  }
  .about-section img {
    width: 200px;
    height: 200px;
  }
  .about-content {
    padding: 1rem 0;
  }
  form {
    padding: 0 1rem;
  }
}

/* Desktop-specific override for "Book a Consultation" button */
@media (min-width: 768px) {
  .cta-button {
    width: auto;
    max-width: none;
  }
}

