/* ProgramGuru Digital — demo static website for programguruaws.com */

:root {
  --navy: #10233f;
  --blue: #2d6cdf;
  --blue-dark: #1e55bb;
  --sky: #eaf3ff;
  --orange: #ff9d3f;
  --green: #2eaf6f;
  --ink: #172033;
  --muted: #64748b;
  --line: #dce6f2;
  --white: #ffffff;
  --surface: #f7faff;
  --shadow: 0 20px 50px rgba(28, 62, 110, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 230, 242, 0.85);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  color: var(--navy);
  font-size: 17px;
}

.brand-text small {
  color: var(--blue);
  font-size: 12px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  color: #3f4e64;
}

.main-nav a:hover {
  color: var(--blue);
}

.main-nav .nav-cta {
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(45, 108, 223, 0.11), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fe 100%);
  padding: 96px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -1.6px;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(44px, 5vw, 70px);
  max-width: 690px;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(45, 108, 223, 0.22);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 27px;
  color: #50617a;
  font-size: 13px;
  font-weight: 650;
}

.hero-visual {
  position: relative;
}

.image-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.image-card img {
  border-radius: 20px;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.floating-card-top {
  top: -20px;
  right: -22px;
  padding: 15px 18px;
}

.floating-card-top strong {
  color: var(--blue);
  font-size: 22px;
}

.floating-card-top span,
.floating-card-bottom span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.floating-card-bottom {
  bottom: -18px;
  left: -28px;
  padding: 13px 17px;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(46, 175, 111, 0.13);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 0;
}

.trust-grid > div {
  display: grid;
  gap: 3px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid strong {
  color: var(--navy);
  font-size: 24px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--surface);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  font-size: clamp(34px, 4vw, 50px);
}

.section-heading p,
.about-copy > p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(28, 62, 110, 0.06);
}

.service-card.featured {
  border-color: rgba(45, 108, 223, 0.35);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 13px;
  background: var(--sky);
  color: var(--blue);
  font-weight: 850;
}

.service-card h3,
.process-step h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.service-card p,
.process-step p {
  color: var(--muted);
}

.service-card ul {
  margin: 22px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-card li {
  margin: 9px 0;
  color: #4d5d74;
  font-size: 14px;
}

.service-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
  font-weight: 800;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 72px;
}

.about-image {
  padding: 18px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-image img {
  border-radius: 18px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.check-list > div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-list > div > span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(46, 175, 111, 0.12);
  color: var(--green);
  font-weight: 900;
}

.check-list p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.check-list strong {
  color: var(--navy);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-step {
  position: relative;
  padding: 30px;
  border-top: 3px solid var(--blue);
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
}

.process-step > span {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}

.testimonial-section {
  padding: 88px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #173c71);
}

.testimonial {
  max-width: 850px;
  text-align: center;
}

.quote-mark {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 0.7;
}

blockquote {
  margin: 18px auto 26px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.6px;
}

.testimonial-person {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font-weight: 850;
}

.testimonial-person span {
  display: block;
  color: #bfd0e9;
  font-size: 12px;
}

.contact-section {
  background: #fbfdff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  color: #4d5d74;
  font-weight: 650;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid #ccd9e8;
  border-radius: 10px;
  background: var(--white);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45, 108, 223, 0.11);
}

.button-full {
  width: 100%;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--green) !important;
  font-size: 13px !important;
  font-weight: 700;
  text-align: center;
}

.site-footer {
  padding: 54px 0 34px;
  color: #bdcbe0;
  background: #0d1c33;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 34px;
  align-items: end;
}

.brand-footer .brand-text strong {
  color: var(--white);
}

.site-footer p {
  max-width: 460px;
  margin: 18px 0 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-size: 13px;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  grid-column: 1 / -1;
  max-width: none !important;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 56px;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    transform: none;
  }

  .about-grid,
  .contact-grid {
    gap: 44px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid > div {
    padding: 14px 0;
  }

  .trust-grid > div:nth-child(2) {
    border-right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 12px;
  }

  .main-nav .nav-cta {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero,
  .section {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-points {
    flex-direction: column;
    gap: 7px;
  }

  .floating-card-top {
    right: -4px;
  }

  .floating-card-bottom {
    left: -4px;
  }

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

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

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
