:root {
  --green: #1f5a3b;
  --green-light: #e7f2ec;
  --cream: #faf8f3;
  --gold: #c9a24b;
  --text: #1f1f1f;
  --muted: #6e6e6e;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --max-width: 1100px;
  --font-main: "Inter", system-ui, sans-serif;
  --font-serif: "Georgia", serif;
}

/* GLOBAL */
body {
  margin: 0;
  background: var(--cream);
  font-family: var(--font-main);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

/* NAVBAR */
.navbar {
  background: white;
  border-bottom: 1px solid #ddd;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: bold;
}

.logo span {
  color: var(--green);
}

nav a {
  margin-left: 1.2rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

nav a.active {
  color: var(--green);
}

/* HERO */
.hero {
  padding: 6rem 2rem;
  color: white;
  text-align: left;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  background-color: rgba(0,0,0,0.45);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.2rem;
  opacity: 0.95;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* BUTTONS */
.btn {
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--gold);
  color: #2b2410;
}

.btn.secondary {
  background: var(--green-light);
  color: var(--green);
}

.btn.tertiary {
  background: var(--cream);
  color: var(--green);
  border: 1px solid var(--green);
}

/* GENERIC SECTIONS */
.section {
  padding: 4rem 2rem;
}

.section.center {
  text-align: center;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-image {
  max-width: var(--max-width);
  margin: 2rem auto 0;
}

.section-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* PAGE HEADERS */
.page-header {
  padding: 4rem 2rem 2rem;
}

.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.page-header h1,
.page-header h2 {
  margin-bottom: 0.5rem;
}

/* CARDS */
.cards-grid {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card h3 {
  margin-top: 0;
}

.card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--green-light);
  color: var(--green);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.tagline {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.price-main {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0.4rem 0;
}

.taster {
  font-size: 0.95rem;
}

/* TUTOR CARDS */
.tutor-grid {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 0 2rem 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tutor-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tutor-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tutor-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
}

/* FORMS */
.form-section {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem;
}

.form {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 0.7rem;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  font-family: var(--font-main);
}

textarea {
  resize: vertical;
}

.form-note {
  margin-top: 1rem;
  color: var(--muted);
}

/* ACCORDIONS (FAQ + Pricing dropdowns) */
.accordion-section {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

details {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin-top: 0.8rem;
  color: var(--muted);
}

/* TESTIMONIALS / REVIEWS */
.testimonials {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 0 2rem;
  display: grid;
  gap: 1.5rem;
}

.testimonial {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-style: italic;
}

.testimonial span {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

/* FOOTER */
.footer {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  background: #f1eee5;
  margin-top: 3rem;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .page-header-inner {
    flex-direction: column;
    text-align: center;
  }
}
/* FIX: Make all section images much smaller */
.section-image img {
  width: 100%;
  max-width: 650px;   /* reduces huge images */
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
  display: block;
}

/* FIX: Reduce hero image height */
.hero {
  padding: 4rem 2rem;        /* was 6rem */
  min-height: 320px;         /* prevents giant hero banners */
  background-size: cover;
  background-position: center;
}

/* FIX: Tutor photos */
.tutor-photo {
  width: 80px;               /* was 64px, but still small */
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

/* FIX: Reduce spacing around sections */
.section {
  padding: 3rem 1.5rem;      /* was 4rem 2rem */
}

/* FIX: Reduce card image sizes */
.card .section-image img {
  max-width: 400px;          /* prevents card images from exploding */
}

/* FIX: Make reviews/testimonials images smaller */
.testimonials + .section-image img,
.section.center .section-image img {
  max-width: 500px;
}
/* FIX: Control height + crop for the Kobi & Adam banner */
.section-image img[src*="hero-team"] {
  width: 100%;
  max-width: 550px;      /* keeps it nicely sized */
  height: 350px;         /* adjust this number to taste */
  object-fit: cover;     /* ensures faces stay visible */
  object-position: top;  /* crops from the top so faces stay in frame */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}
/* FIX: Move the Our Team hero image upward so faces are visible */
.hero[style*="hero-team.jpg"] {
  background-position: top center !important;  /* shifts crop upward */
  min-height: 380px;                           /* adjust height if needed */
}
/* Adjust the Our Team hero image crop slightly downward */
.hero[style*="hero-team.jpg"] {
  background-position: center 15% !important;
}
/* Adjust the Home page hero image crop slightly downward */
.hero[style*="hero-main.jpg"] {
  background-position: center 10% !important;
}
/* Clean single-review block */
.single-review {
  max-width: 700px;
  margin: 2rem auto;
  background: white;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-style: italic;
  text-align: center;
}

.single-review span {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

.service-img { width: 100%; height: 240px; object-fit: cover; border-radius: 14px; margin-bottom: 14px; display: block; }
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

