/* ==== Hero Component Styles (theme-aligned) ==== */
#hero {
  padding: clamp(0.9rem, 2.5vw, 1.2rem);
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: var(--bg-colour-2);
}

/* untouched glow styles */
.hero-glow-bg {
  content: '';
  position: absolute;
  bottom: -6rem;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #00bfff80, transparent 70%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
  animation: floatGlow 7s ease-in-out infinite;
}
.hero-glow-bg-2 {
  content: '';
  position: absolute;
  top: -9rem;
  right: -20rem;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #00bfff80, transparent 70%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
  animation: floatGlow2 8s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: clamp(500px, 70vw, 700px);
  margin: 0 auto;
}

#hero div {
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.main-title {
  padding-bottom: var(--space-smmd);
  padding-top: clamp(5.5rem, 6vw, 7rem);
  text-align: left;
}

.hero-content p {
  text-align: left;
  margin-bottom: var(--space-smmd);
  opacity: 0.9;
  font-size: clamp(1rem, 1.2vw, 1.05rem);
}

.hero-content .about-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  opacity: 0.9;
}

.pulse-glow { 
  color: #00bfff; 
  text-shadow: 0 0 8px rgba(0,191,255,.158); 
  animation: pulseGlow 2.5s ease-in-out infinite; 
}

.location-tag { 
  display: flex; 
  align-items: flex-start; 
}
.location-tag p { 
  margin: auto 0; 
  font-size: clamp(0.8rem, 1.2vw, 0.9rem); 
}
.location-tag .icon { 
  margin-right: 0.3rem; 
}

/* layout-only */
@media screen and (min-width: 1024px) {
  .hero-glow-bg {
    bottom: -50%;
    width: 500px;
    height: 500px;
    filter: blur(60px);
  }
  .hero-glow-bg-2 {
    top: -9rem;
    right: -30rem;
    width: 500px;
    height: 500px;
    filter: blur(60px);
  }
  .main-title { 
    font-weight: 800; 
  }
}
/* ==== Hero End ==== */

/* ==== What does custom Styles Start ==== */
#what-design-really {
  padding: clamp(0.8rem, 2.5vw, 1.25rem);
  background-color: var(--bg-colour-1);
  padding-top: var(--space-md);
  padding-bottom: var(--space-lg);
}

#what-design-really .sub-heading {
  text-align: left;
}

.what-design-really-title-sec {
  max-width: clamp(650px, 92vw, 850px);
  margin: 0 auto;
}

.what-design-really-heading {
  margin-top: 2rem;
  text-align: left;
  padding-bottom: var(--space-md);
}

.what-design-really-title-sec p {
  padding-bottom: var(--space-smmd);
  color: var(--text-colour-1);
  opacity: 0.9;
  text-align: left;
  font-size: 1rem;
}
/* ====What does custom Section Styles End ==== */


/* ==== why-design-matters Section Styles start ==== */
#why-design-matters {
  padding: clamp(0.8rem, 2.5vw, 1.25rem);
  background-color: var(--bg-colour-2);
  padding-top: var(--space-md);
  padding-bottom: var(--space-lg);
}

#why-design-matters .sub-heading {
  padding-bottom: var(--space-smmd);
  color: white;
}

.why-design-matters-title-sec {
  max-width: 850px;
  margin: 0 auto;
  padding-bottom: var(--space-sm);
}

.why-design-matters-heading {
  margin-top: 2rem;
  text-align: left;
  padding-bottom: var(--space-md);
}

.why-design-matters-title-sec p {
  padding-bottom: var(--space-smmd);
  color: var(--text-colour-1);
  opacity: 0.9;
  text-align: left;
}

.button-sec {
  max-width: 850px;
  margin: 0 auto;
}

/* --- Lists  --- */
.why-design-matters-list {
  list-style: none;  
  margin: 0 0 var(--space-smmd) 0;
  padding: 0;
}

.why-design-matters-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: var(--space-sm);
  opacity: 0.9;
}

/* Faux markers  */
.why-design-matters-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0; 
  font-weight: 600;
}

/* Cross (red) for "problem" items */
.why-design-matters-list li::before {
  content: "✓";
  color: var(--main-brand-blue);
}
/* ==== why-design-matters Section Styles end ==== */


/* ==== Good vs Bad Section ==== */
#good-vs-bad {
  padding: clamp(0.8rem, 2.5vw, 1.25rem);
  background: var(--bg-colour-1);
  padding-top: var(--space-md);
  padding-bottom: var(--space-sm);
}

.good-bad-title-sec {
  max-width: clamp(650px, 92vw, 850px);
  margin: 0 auto var(--space-smmd) auto;
}

.good-bad-heading {
  margin-top: 2rem;
  text-align: left;
  padding-bottom: var(--space-sm);
}

/* grid */
.good-bad-grid {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* shared card styles */
.good-card,
.bad-card {
  background: var(--bg-colour-2);
  padding: clamp(0.9rem, 2.5vw, 1.25rem);
  border-radius: 8px;
  position: relative;
  isolation: isolate;
}

/* subtle tinted overlays to match screenshot */
.good-card::before,
.bad-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  opacity: .12;
}
.good-card::before { background: #00bfff; }
.bad-card::before { background: #ff3131; }

/* borders / glow */
.good-card {
  border: 1px solid rgba(0,191,255,.55);
  box-shadow: 0 0 0 2px rgba(0,191,255,.08) inset;
}
.bad-card {
  border: 1px solid rgba(255,49,49,.55);
  box-shadow: 0 0 0 2px rgba(255,49,49,.08) inset;
}

.good-bad-card-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: var(--space-sm);
}

.good-bad-card-head h3 {
  margin: 0;
  font-weight: 600;
}

.good-bad-icon {
  width: 22px;
  height: 22px;
}

/* colour the icons */
.good-card .good-bad-icon { fill: var(--main-brand-blue); }
.bad-card  .good-bad-icon { fill: #ff3131; }

/* lists */
.good-list,
.bad-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.good-list li,
.bad-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  color: var(--text-colour-1);
  opacity: 0.95;
}

/* markers */
.good-list li::before,
.bad-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.good-list li::before { content: "✓"; color: var(--main-brand-blue); }
.bad-list  li::before { content: "✕"; color: #ff3131; }

/* desktop layout */
@media (min-width: 768px) {
  .good-bad-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ==== the-problem-with Section Styles start ==== */
#bad-web-design {
  padding: clamp(0.8rem, 2.5vw, 1.25rem);
  background-color: var(--bg-colour-1);
  padding-top: var(--space-md);
  padding-bottom: var(--space-lg);
}

.bad-web-design-title-sec {
  max-width: 850px;
  margin: 0 auto;
  padding-bottom: var(--space-md);
}

#bad-web-design .sub-heading {
  color: white;
}

.bad-web-design-heading {
  margin-top: 2rem;
  text-align: left;
  padding-bottom: var(--space-md);
}

.bad-web-design-title-sec p {
  padding-bottom: var(--space-md);
  opacity: 0.9;
  text-align: left;
}

.results-list {
  list-style: none;  
  margin: 0 0 var(--space-smmd) 0;
  padding: 0;
}

.results-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: var(--space-sm);
  opacity: 0.9;
  font-size: 1rem;
}

/* Faux markers  */
.results-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0; 
  font-weight: 600;
}

.results-list li::before {
  content: "\2716\FE0E";
  color: #ff3131;
}

.results-list {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.results-list li {
  margin-bottom: var(--space-sm);
  padding-left: 1rem;
}

.bad-web-design-box {
  background-color: var(--bg-colour-2);
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.bad-web-design-box p { 
  padding-bottom: 0; 
}
/* ==== the-problem-with Section Styles end ==== */

/* ==== My Approach Section Styles Start ==== */
#my-approach {
  padding: clamp(0.8rem, 2.5vw, 1.25rem);
  background-color: var(--bg-colour-2);
  padding-top: var(--space-md);
  padding-bottom: var(--space-lg);
}

.my-approach-title-sec {
  max-width: 850px;
  margin: 0 auto;
  padding-bottom: var(--space-md);
}

.my-approach-heading {
  margin-top: 2rem;
  text-align: left;
  padding-bottom: var(--space-md);
}

.my-approach-title-sec p {
  color: var(--text-colour-1);
  opacity: 0.9;
  text-align: left;
  font-size: 1rem;
}

/* Steps wrapper */
.my-approach-steps {
  max-width: 850px;
  margin: 0 auto var(--space-md) auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Step card */
.approach-step-card {
  background: var(--bg-colour-1);
  padding: clamp(0.9rem, 2vw, 1.1rem);
  border-radius: 6px;
  position: relative;
}

.approach-step-badge {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 191, 255, 0.14);
  margin-bottom: 1rem;
}

.approach-step-badge span {
  color: var(--main-brand-blue);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}

.approach-step-card h3 {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 1rem 0;
  color: var(--main-brand-blue);
}

.approach-step-card p {
  font-size: 0.95rem;
  color: var(--text-colour-1);
  opacity: 0.9;
  line-height: 150%;
  margin: 0;
}

/* Statement box */
.my-approach-statement {
  max-width: clamp(650px, 92vw, 750px);
  margin: var(--space-smmd) auto var(--space-md) auto;
  border: 1px solid var(--main-brand-blue);
  background: var(--bg-colour-2);
  border-radius: 6px;
  padding: clamp(0.9rem, 2vw, 1.1rem);
  box-shadow: 0 0 6px 2px rgba(0, 195, 255, 0.35);
}

.my-approach-statement p {
  text-align: center;
  line-height: 150%;
  margin: 0;
  margin-bottom: var(--space-sm);
}

@media screen and (min-width: 768px) {
  .my-approach-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Layout @ desktop */
@media screen and (min-width: 1024px) {
  .my-approach-steps {
    grid-template-columns: repeat(5, 1fr);
  }
}
/* ==== My Approach Section Styles End ==== */


/* ==== Why Builders Fall Short ==== */
#why-builders-fall-short {
  padding: clamp(0.8rem, 2.5vw, 1.25rem);
  background: var(--bg-colour-1);
  padding-top: var(--space-md);
  padding-bottom: var(--space-lg);
}

.fall-short-title-sec {
  max-width: clamp(650px, 92vw, 850px);
  margin: 0 auto;
}

.fall-short-heading {
  margin-top: 2rem;
  text-align: left;
  padding-bottom: var(--space-md);
}

.fall-short-intro,
.fall-short-body {
  max-width: clamp(650px, 92vw, 850px);
  margin: 0 auto var(--space-smmd) auto;
  color: var(--text-colour-1);
  opacity: 0.9;
  text-align: left;
  font-size: 1rem;
}

/* Warning list card */
.fall-short-box {
  max-width: clamp(650px, 92vw, 850px);
  margin: 0 auto var(--space-md) auto;
  background: var(--bg-colour-2);
  padding: clamp(0.9rem, 2.5vw, 1.25rem);
  border-radius: 8px;
}

.warning-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.warning-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  color: var(--text-colour-1);
  opacity: 0.92;
}

.warning-list li::before {
  content: "\2716\FE0E";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #ff3131;
}

/* Client reassurance note */
.client-note {
  max-width: clamp(650px, 92vw, 850px);
  margin: 0 auto var(--space-md) auto;
  background: var(--bg-colour-2);
  border-left: 4px solid var(--main-brand-blue);
  border-radius: 8px;
  padding: clamp(0.9rem, 2.5vw, 1.25rem);
}

.client-note p {
  margin: 0 0 var(--space-sm) 0;
  color: var(--text-colour-1);
  opacity: 0.9;
  text-align: left;
  font-size: 1rem;
}


/* ===== FAQ Section ===== */
.faq-sec {
  margin: 0 auto;
  padding: 0.8rem;
  font-family: 'Inter', sans-serif;
  color: white;
  background: var(--bg-colour-1);
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-bottom: var(--space-lg);
}

/* Heading */
.faq-heading {
  font-size: 1.8rem;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: var(--space-md);
}

/* FAQ List */
.faq-item {
  border-radius: 5px;
  margin-bottom: 1rem;
  background: var(--bg-colour-2);
  border: 1px solid #00c3ff46;
  overflow: hidden;
  transition: border 0.3s;
}

/* Toggle Button */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  color: var(--text-colour-1);
  font-weight: 500;
  cursor: pointer;
}

.faq-question-text {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

.faq-toggle-icon {
  font-size: 1rem;
  transition: transform 0.3s;
  color: var(--main-brand-blue);
  padding-left: 4px;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
}

/* Answer box */
.faq-answer {
  height: 0;
  padding: 0 1rem;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.3s, padding 0.3s;
}
.faq-item.open .faq-answer {
  height: auto;
  opacity: 0.9;
  padding: 0 1rem 1rem 1rem;
}

.faq-list {
  position: relative;
  z-index: 3;
  list-style: none;
}

/* CTA Box */
.faq-cta-box {
  border: 1px solid #1a1a1a;
  border-radius: 5px;
  padding: 1.5rem;
  margin-top: 3rem;
  background: #111;
  text-align: center;
}

.faq-cta-heading {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.faq-cta-text {
  color: #ccc;
  margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
  .faq-list {
    width: 500px;
    margin: 0 auto;
  }

  .faq-cta-box {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 1024px) {
  .faq-cta-box {
    width: 350px;
    height: 250px;
    margin-top: 0;
  }

  .faq-con-inner {
    display: flex;
    justify-content: space-evenly;
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
  }

  .faq-list {
    width: 600px;
    order: 2;
  }
}
