/*
Theme Name: Astra Child — Dynaquest
Theme URI: https://dynaquest.co
Description: Astra child theme for Dynaquest Private Limited front page.
Author: Dynaquest Private Limited
Author URI: https://dynaquest.co
Template: astra
Version: 1.0.0
Text Domain: dynaquest-astra-child
*/

/* ============================================================
   DYNAQUEST PRIVATE LIMITED — STYLESHEET
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
span {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  text-transform: none;
}

body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  color: #1a1a2e;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-transform: none;
}

.site-header .nav-links a,
.hero-heading,
.section-title,
.founder-role,
.contact-label {
  text-transform: none;
}

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

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

ul {
  list-style: none;
}

/* ── Design Tokens ────────────────────────────────────────── */

:root {
  --accent:        #4f46e5;        /* indigo */
  --accent-light:  #eef2ff;
  --accent-dark:   #3730a3;

  --text-primary:  #1a1a2e;
  --text-secondary:#4b5563;
  --text-muted:    #9ca3af;

  --bg-white:      #ffffff;
  --bg-soft:       #f8fafc;
  --bg-subtle:     #f1f5f9;

  --border:        #e5e7eb;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;

  --shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.07),
                   0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:     0 4px 16px rgba(0, 0, 0, 0.08),
                   0 1px 4px rgba(0, 0, 0, 0.05);

  --container-max: 1120px;
  --section-gap:   96px;
}

/* ── Container ────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Typography Helpers ───────────────────────────────────── */

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* ── Header / Navbar ──────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand a {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent);
  background-color: var(--accent-light);
}

/* ── Hero Section ─────────────────────────────────────────── */

.hero {
  padding-block: 80px 40px;
  background-color: #ffffff;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
}

.hero-heading {
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #1a1a2e 10%, #3730a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheading {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-banner {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
}

/* ── About Section ────────────────────────────────────────── */

.about {
  padding-block: 16px var(--section-gap);
  background-color: #ffffff;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.about-content {
  grid-column: 2;
}

.about-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.85;
}

/* ── What We Build Section ────────────────────────────────── */

.what-we-build {
  padding-block: var(--section-gap);
  background-color: var(--bg-white);
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.build-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-top-color 0.18s ease;
}

.build-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}

.build-card-icon {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 16px auto;
}

.build-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.build-card-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
}

/* ── Why We Exist Section ─────────────────────────────────── */

.why-we-exist {
  padding-block: var(--section-gap);
  background-color: #ffffff;
}

/* ── Initiatives Section ──────────────────────────────────── */

.initiatives {
  padding-block: var(--section-gap);
  background-color: var(--bg-white);
}

.initiatives-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.initiative-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 32px 32px 28px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.initiative-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.initiative-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.initiative-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.initiative-status {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  background-color: var(--accent-light);
  padding: 4px 10px;
  border-radius: 100px;
}

.why-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 100%;
}

/* ── Founders Section ─────────────────────────────────────── */

.founders {
  padding-block: var(--section-gap);
  background-color: #ffffff;
}

.founders-header {
  margin-bottom: 48px;
}

.founders-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 8px;
  max-width: 480px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.founder-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.founder-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.founder-photo-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-info {
  display: flex;
  flex-direction: column;
}

.founder-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.founder-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background-color: var(--accent-light);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  align-self: flex-start;
}

.founder-bio {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── Contact Section ──────────────────────────────────────── */

.contact {
  padding-block: var(--section-gap);
  background-color: var(--bg-subtle);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.contact-value {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-style: normal;
  line-height: 1.7;
}

/* ── Contact Form ─────────────────────────────────────────── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text-primary);
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  align-self: flex-start;
  padding: 12px 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  color: #ffffff;
  background-color: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.submit-button:hover {
  background-color: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
  transform: translateY(-2px);
}

.submit-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

/* ── Footer ───────────────────────────────────────────────── */

.site-footer {
  background-color: var(--text-primary);
  color: var(--text-muted);
  padding-block: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
  font-size: 0.875rem;
  text-align: center;
}

/* ── Responsive — Tablet (≤ 900px) ───────────────────────── */

@media (max-width: 900px) {
  :root {
    --section-gap: 72px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    order: -1;
  }

  .hero-banner {
    max-width: 100%;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /*.about-illustration {*/
  /*  display: none;*/
  /*}*/

  .about-content {
    grid-column: 1;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
  }
}

/* ── Responsive — Mobile (≤ 640px) ───────────────────────── */

@media (max-width: 640px) {
  :root {
    --section-gap: 56px;
  }

  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding-block: 14px 12px;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links ul {
    gap: 2px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
  }

  .nav-links a {
    font-size: 0.8125rem;
    padding: 5px 10px;
  }

  .hero {
    padding-block: 72px 56px;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .hero-subheading {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.625rem;
    margin-bottom: 28px;
  }

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

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

  .initiatives-list {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-direction: column;
  }

  .submit-button {
    width: 100%;
    text-align: center;
  }
}
