/*
  Custom stylesheet for the YSMT International static site.
  This CSS aims to loosely mirror the original Wix design using
  bright colours, simple iconography and clear typography. It
  defines a handful of colour variables, resets, responsive grid
  helpers and component styles such as navigation, hero banner,
  feature cards, call‑to‑action strips, testimonials and a footer.

  While it cannot reproduce every nuance of the Wix template,
  the palette and layout choices are inspired by the live site to
  provide a familiar feel when deployed on Netlify.
*/

:root {
  --text-colour: #111;        /* dark body copy */
  --sub-colour: #555;         /* secondary text */
  --bg-white: #ffffff;        /* white sections */
  --bg-yellow: #fbb040;       /* warm yellow used for CTAs and footer */
  --bg-pink:   #f9d6e5;       /* soft pink section */
  --bg-teal:   #d0f1ea;       /* soft turquoise section */
  --card1:     #f6b040;       /* feature card colours */
  --card2:     #a2e5e4;
  --card3:     #fad4d4;
  --card4:     #bdebcc;
}

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

html, body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--bg-white);
  color: var(--text-colour);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* General layout helpers */
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 0 0 40px 0;
}

.btn {
  display: inline-block;
  background: var(--bg-yellow);
  color: var(--text-colour);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #e79e33;
}

/* Navigation */
.nav {
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #ededed;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-colour);
}
.nav .brand img {
  height: 40px;
  width: auto;
}
.nav .brand .name {
  font-size: 18px;
  font-weight: 700;
}
.nav .tagline {
  font-size: 12px;
  color: var(--sub-colour);
  margin-top: -4px;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}
.nav a {
  color: var(--sub-colour);
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover,
.nav a.active {
  color: var(--text-colour);
}
.nav .nav-cta {
  background: var(--bg-yellow);
  padding: 10px 22px;
  color: var(--text-colour);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav .nav-cta:hover {
  background: #e79e33;
}

/* Hero section */
/*
 * Hero section
 *
 * The hero on the original Wix site is a clean, two‑column layout with
 * dark text on a bright backdrop and a line‑art illustration on the right.
 * To replicate this, we strip the previous coloured bars background and
 * instead lay the content and illustration side by side using CSS Grid.
 * A subtle light grey gradient at the bottom echoes the original curved
 * landscape without overwhelming the text.  The call‑to‑action button is
 * styled dark with light text to mirror the Wix design.
 */
.hero {
  /* Plain white backdrop for readability */
  background: var(--bg-white);
  position: relative;
  color: var(--text-colour);
  min-height: 75vh;
  display: flex;
  align-items: center;
}

/* Gradient along the bottom of the hero to hint at the curved ground plane */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
}

.hero .inner {
  /* Two responsive columns: text/content and illustration */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
  position: relative;
  padding: 80px 0;
}
.hero h1 {
  font-size: 56px;
  margin-bottom: 14px;
  font-weight: 800;
  color: var(--text-colour);
}
.hero p {
  max-width: 540px;
  font-size: 18px;
  margin-bottom: 26px;
  color: var(--text-colour);
}
.hero .icon-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero .icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sub-colour);
}
.hero .icon-item img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

/* Style the inline SVG icons to use a rich green line colour reminiscent of the
   original Wix design. */
.hero .icon-item svg {
  width: 36px;
  height: 36px;
  fill: #04724d;
}

/* Ensure the illustration scales proportionally within its column */
.hero-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

/* Make the hero call‑to‑action dark with light text, matching the original */
.hero .btn {
  background: var(--text-colour);
  color: var(--bg-white);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
}
.hero .btn:hover {
  background: #000;
}

/* CTA strips */
.cta-strip {
  padding: 60px 0;
  text-align: center;
}
.cta-strip.yellow {
  background: var(--bg-yellow);
  color: var(--text-colour);
}
.cta-strip.teal {
  background: var(--bg-teal);
  color: var(--text-colour);
}
.cta-strip h2 {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}
.cta-strip p {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 18px;
}

/* Feature cards / What We Offer */
.features {
  padding: 80px 0;
  background: var(--bg-white);
}
.features h2 {
  text-align: left;
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
}
.features p.lead {
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 740px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.feature-card {
  border-radius: 12px;
  padding: 24px;
  color: var(--text-colour);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--card1);
}
.feature-card:nth-of-type(2) {
  background: var(--card2);
}
.feature-card:nth-of-type(3) {
  background: var(--card3);
}
.feature-card:nth-of-type(4) {
  background: var(--card4);
}
.feature-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}
.feature-card .emoji {
  font-size: 32px;
  margin-bottom: 12px;
}

/* Work Together section */
.work-together {
  padding: 80px 0;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.work-together .columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.work-together h2 {
  font-size: 32px;
  font-weight: 700;
}
.work-together .item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.work-together .item .emoji {
  font-size: 30px;
}
.work-together .item p {
  font-size: 16px;
}

/* Pink value section */
.value-section {
  background: var(--bg-pink);
  padding: 60px 0;
  text-align: left;
}
.value-section p {
  font-size: 18px;
  max-width: 760px;
}

/* Testimonials */
.testimonials {
  background: var(--bg-white);
  padding: 80px 0;
}
.testimonials h2 {
  font-size: 32px;
  margin-bottom: 32px;
  font-weight: 700;
  text-align: center;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.testimonial-card {
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--sub-colour);
}
.testimonial-card .author {
  font-weight: 600;
  color: var(--text-colour);
  margin-top: 12px;
}

/* Footer */
.footer {
  background: var(--bg-yellow);
  color: var(--text-colour);
  padding: 60px 0;
}
.footer .columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}
.footer h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
}
.footer a {
  color: var(--text-colour);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
/* Social links in footer */
/* Footer social buttons */
/* Footer social icons (simple style) */
.footer .socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer .socials a {
  font-size: 22px;
  color: var(--text-colour);
  text-decoration: none;
}
.footer .socials a:hover {
  text-decoration: underline;
  color: var(--sub-colour);
}

.footer .copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .cta-strip h2 { font-size: 26px; }
}