/* ==========================================================
   THEME VARIABLES
   All the brand colors, consolidated to one place. Same overall
   palette as before, just organized so you can tweak it in one
   spot instead of hunting through the whole file.
   ========================================================== */
:root {
  --purple-deep:   #4b176d;  /* section-heading titles, decorative lines */
  --purple-ink:    #553762;  /* default h2 / hero copy heading color */
  --purple-mid:    #6d4b7d;  /* header gradient, package heading */
  --purple-soft:   #a96b91;  /* header gradient end, package border */
  --pink-line:     #e889cf;  /* decorative line, accent */
  --purple-line:   #6b2b80;  /* decorative line, checkmarks */
  --cta-pink:      #a34f82;  /* hero price / hero button */
  --button-pink:   #9a527b;  /* default button background */
  --magenta-strong:#85218f;  /* portfolio "view live" button */
  --text-body:     #333;
  --text-soft:     #555;
  --text-softer:   #666;
  --bg-white:      #fff;
  --bg-light:      #faf6fb;
  --bg-lilac:      #f1e8f5;
  --bg-blush:      #f5edf7;
  --bg-cream:      #fdf8fc;
  --border-lilac:  #eadcf0;
  --footer-bg:     #35263d;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-display);
}

/* ---------- header ---------- */
header {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-soft));
  color: white;
  text-align: center;
  padding: 20px 20px;
}

.main-logo {
  width: 400px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.tagline {
  margin-top: 10px;
  font-size: 16px;
}

nav {
  background: #4d3859;
  text-align: center;
  padding: 14px;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

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

/* ---------- buttons ---------- */
.button {
  display: inline-block;
  background: var(--button-pink);
  color: white;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 17px;
  transition: 0.3s;
}

.button:hover {
  background: var(--purple-mid);
  transform: translateY(-2px);
}

/* ---------- layout basics ---------- */
section {
  padding: 65px 20px;
}

.section-inner {
  max-width: 1000px;
  margin: auto;
}

h2 {
  text-align: center;
  color: var(--purple-ink);
  font-weight: 600;
  font-size: 34px;
  margin-bottom: 20px;
}

.intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 35px;
  font-size: 18px;
}

.light-section {
  background: var(--bg-light);
}

/* ==========================================================
   SHARED SECTION HEADING (the pink-line / purple-line motif)
   Add class="section-heading" to any h2/h3 that should carry
   the decorative double line. Plain headings (like "Starting a
   Business?" or "What Our Clients Say") skip this class and
   stay undecorated, same as before.
   ========================================================== */
.section-heading {
  position: relative;
  color: var(--purple-deep);
  font-weight: 700;
  letter-spacing: 1px;
}

.section-heading::before {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  background: var(--pink-line);
  border-radius: 3px;
  margin: 0 auto 14px;
}

.section-heading::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--purple-line);
  border-radius: 3px;
  margin: 14px auto 0;
}

/* ---------- package ---------- */

.offer-package {
  border-top-color: var(--magenta-strong);
  text-align: center;
}

.offer-tag {
  display: inline-block;
  background: var(--magenta-strong);
  color: white;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.offer-package .price-was {
  text-decoration: line-through;
  color: var(--text-softer);
  font-size: 20px;
  font-weight: normal;
  margin-right: 10px;
}

.offer-package ul {
  text-align: left;
}

.offer-package .button {
  margin-top: 10px;
}
.package {
  background: white;
  max-width: 700px;
  margin: 30px auto;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 5px 25px rgba(80,50,80,0.12);
  border-top: 5px solid var(--purple-soft);
}

.package h3 {
  color: var(--purple-mid);
  font-size: 28px;
  margin-bottom: 10px;
}

.package-price {
  color: #a34f7c;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}

.package ul {
  list-style: none;
  margin: 20px 0;
}

.package li {
  margin: 12px 0;
  font-size: 17px;
}

.package li::before {
  content: "✓";
  color: var(--button-pink);
  font-weight: bold;
  margin-right: 10px;
}

/* ---------- extras ---------- */
.extras-heading {
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.extras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 35px;
}

/* Centers the last two boxes on their own row when there are 6 total */
.extras .extra-box:nth-child(5) { grid-column: 2; }
.extras .extra-box:nth-child(6) { grid-column: 3; }

.extra-box {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid var(--border-lilac);
  box-shadow: 0 6px 20px rgba(80, 50, 80, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.extra-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(80, 50, 80, 0.13);
}

.extra-box h3 {
  color: var(--purple-deep);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.extra-box h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--pink-line);
  border-radius: 4px;
  margin: 12px auto 18px;
}

.extra-box p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #252538;
}

/* ---------- why choose us ---------- */
#why-choose-us {
  background: var(--bg-lilac);
}

#why-choose-us .section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

#why-choose-us .intro {
  margin-bottom: 40px;
}

.why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.why-box {
  background: #ffffff;
  padding: 30px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid #e4d7e8;
  box-shadow: 0 5px 20px rgba(80, 50, 80, 0.08);
}

.why-box h3 {
  color: #6b4c7a;
  font-size: 22px;
  margin-bottom: 12px;
}

.why-box p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- testimonial ---------- */
.testimonial-section {
  padding: 80px 20px;
  text-align: center;
  background: var(--bg-cream);
}

.testimonial-section h2 {
  color: #573565;
  margin-bottom: 40px;
  font-size: 38px;
}

.testimonial {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 45px 55px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(87, 53, 101, 0.14);
  border: 1px solid #eee2f0;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 5px;
  left: 25px;
  font-size: 90px;
  line-height: 1;
  color: #ead8e8;
  font-family: Georgia, serif;
}

.testimonial .stars {
  font-size: 27px;
  letter-spacing: 4px;
  color: #d4a72c;
  margin-bottom: 25px;
}

.testimonial p {
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-soft);
  font-style: italic;
  margin: 0 auto 25px;
}

.testimonial strong {
  color: #573565;
  font-size: 17px;
  font-weight: 600;
}

/* ---------- portfolio ---------- */
.portfolio-section {
  background: var(--bg-blush);
  padding: 45px 25px 55px;
  margin-top: 45px;
}

.portfolio-heading {
  font-size: 2.3rem;
  margin: 0 0 42px;
}

.portfolio-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.portfolio-card {
  background: white;
  max-width: 1100px;
  margin: 0 auto;
  padding: 55px;
  border-radius: 22px;
  box-shadow: 0 5px 20px rgba(80,50,80,0.10);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  column-gap: 55px;
  row-gap: 30px;
  align-items: center;
}

.portfolio-card > a:first-child {
  display: block;
}

.portfolio-card img {
  width: 100%;
  display: block;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(80,50,80,0.20);
}

.portfolio-card h3.section-heading {
  font-size: 2.15rem;
  margin: 0 0 30px;
  text-align: center;
}
.portfolio-card > div > p {
  text-align: center;
  color: #252538;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.portfolio-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.portfolio-features div {
  position: relative;
  padding-left: 62px;
  color: #252538;
  font-size: 1.15rem;
  line-height: 1.4;
  text-align: left;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.portfolio-features div::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ed4cb0;
  border-radius: 50%;
  color: var(--purple-line);
  font-size: 27px;
  font-weight: 700;
  box-sizing: border-box;
}

.portfolio-card .button {
  grid-column: 1 / -1;
  display: block;
  width: fit-content;
  min-width: 300px;
  margin: 5px auto 0;
  padding: 15px 38px;
  background: var(--magenta-strong);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 5px 15px rgba(80,30,100,0.18);
  transition: all 0.3s ease;
}

.portfolio-card .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(80,30,100,0.25);
}

/* ---------- contact ---------- */

.contact-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-columns .contact-form {
  flex: 1 1 380px;
  margin-top: 30px;
}

.contact-columns .contact-details-row {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  border-top: none;
  margin-top: 30px;
  padding-top: 0;
}
.contact {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-soft));
  color: white;
  text-align: center;
}

.contact h2 {
  color: white;
}

.contact p {
  max-width: 650px;
  margin: 0 auto 25px;
  font-size: 18px;
}

.contact .button {
  background: white;
  color: var(--purple-mid);
}

.contact-form {
  max-width: 600px;
  margin: 30px auto 0;
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 7px;
  font-weight: bold;
  color: white;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid #f7dce8;
}

.contact-form button {
  display: block;
  margin: 10px auto 0;
  border: none;
  cursor: pointer;
}

.contact-details-row {
  max-width: 600px;
  margin: 35px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-details {
  text-align: left;
}

.contact-details p {
  margin: 12px 0;
  font-size: 18px;
}

.contact-details a {
  color: #f7dce8;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.contact-qr img {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

.contact-qr span {
  color: #f7dce8;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-qr .qr-caption {
  color: rgba(255,255,255,0.7);
  font-weight: normal;
  letter-spacing: 0.5px;
  text-transform: none;
  font-size: 11px;
}
.contact-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-columns .contact-form {
  flex: 1 1 380px;
  margin-top: 30px;
}

.contact-columns .contact-details-row {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  border-top: none;
  margin-top: 30px;
  padding-top: 0;
}
/* ---------- back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  padding: 10px 18px;
  background: #6b4c7a;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(80,50,80,0.25);
}

.back-to-top:hover {
  background: var(--purple-deep);
}

/* ---------- footer ---------- */
footer {
  background: var(--footer-bg);
  color: #ddd;
  text-align: center;
  padding: 25px 15px;
  font-size: 14px;
}

/* ==========================================================
   HERO
   Single, canonical hero definition. (The old file defined
   .hero twice, and a "Mobile" block outside any @media query
   was silently overriding the desktop styles at all screen
   sizes — fixed by folding this into one real @media rule
   at the bottom of the file.)
   ========================================================== */
.hero {
  padding: 40px 20px 100px;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #fdf7fc 55%, #f7dce8 100%);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  margin-bottom: 35px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 3px;
  color: var(--cta-pink);
}

.hero h1 {
  margin: 0 auto 25px;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.1;
  color: #573565;
  max-width: 900px;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 22px;
  line-height: 1.6;
  color: #444;
}

.hero-price {
  margin: 25px 0 12px;
  font-size: 28px;
  font-weight: bold;
  color: var(--cta-pink);
}

.hero-price strong {
  font-size: 34px;
}

.hero-small {
  max-width: 650px;
  margin: 0 auto 35px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-softer);
}

.hero-button {
  display: inline-block;
  padding: 16px 34px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  background: var(--cta-pink);
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(87, 53, 101, 0.25);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 800px) {
  .portfolio-section { padding: 40px 18px 45px; }
  .portfolio-heading { font-size: 1.9rem; margin-bottom: 30px; }
  .portfolio-card { grid-template-columns: 1fr; padding: 30px 22px; gap: 30px; }
  .portfolio-card h3.section-heading { font-size: 1.8rem; }
  .portfolio-card .button { grid-column: 1; min-width: 260px; }
  .portfolio-features div { font-size: 1rem; padding-left: 55px; }
  .portfolio-features div::before { width: 38px; height: 38px; font-size: 23px; }
}

@media (max-width: 700px) {
  .hero { padding: 60px 20px 70px; }
  .hero h1 { font-size: 40px; }
  .hero-text { font-size: 18px; }
  .hero-price { font-size: 24px; }
  .hero-price strong { font-size: 30px; }

  nav a { display: inline-block; margin: 5px 8px; }
  section { padding: 50px 18px; }

  .contact-form { width: 100%; margin-top: 30px; }
  .contact-form input,
  .contact-form textarea { width: 100%; }
  .contact-form button { width: 100%; max-width: 300px; }

  .extras { grid-template-columns: 1fr 1fr; }
  .extras .extra-box:nth-child(5),
  .extras .extra-box:nth-child(6) { grid-column: auto; }

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