/* ==========================================
   1. GLOBAL RESET & BASE STYLES
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #090314;
  --bg-gradient-start: #140528;
  --bg-gradient-end: #090314;
  --accent-purple: #9333ea;
  --accent-light: #c084fc;
  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Base Headings */
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.inline-link {
  color: var(--accent-light);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}

.inline-link:hover {
  color: #ffffff;
}

/* General image bounds */
img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ==========================================
   2. HEADER & NAVIGATION
   ========================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #140528;
  line-height: 1.1;
  border: none;
  box-shadow: none;
}

/* Logo Styling in Header */
.header-logo {
  height: 45px;
  width: auto;
  display: block;
  object-fit: contain;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--accent-purple);
}


/* ==========================================
   3. HERO SECTION
   ========================================== */
.hero-section {
  background-color: #ffffff; /* Sets the section background to pure white */
  width: 100%;
}

.hero-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Styling for the character artwork */
.hero-wrapper img.featured-img {
  border-radius: 20px;          /* Restores the sleek rounded corners */
  overflow: hidden;             /* Ensures image clips tightly to the curve */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); /* Soft drop shadow on white */
  border: 1px solid rgba(0, 0, 0, 0.08);       /* Subtle border to frame the photo */
}

@media (min-width: 850px) {
  .hero-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

/* Update title text color so it stays visible on white background */
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.05;
  color: #140528; /* Deep purple/black instead of white gradient */
  background: none;
  -webkit-text-fill-color: initial;
}

/* ==========================================
   4. PURPLE GRADIENT SECTIONS
   ========================================== */
.purple-gradient-section {
  background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  padding: 5rem 0;
  border-top: 1px solid rgba(147, 51, 234, 0.15);
}


/* ==========================================
   5. PROCESS SECTION (3-Phase Layout)
   ========================================== */
.process-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.process-row:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 51, 234, 0.4);
}

@media (min-width: 768px) {
  .process-row {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
}

.process-img {
  width: 100%;
  max-width: 240px;
  border-radius: 12px;
  object-fit: cover;
}

.process-text h3 {
  font-size: 1.5rem;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}


/* ==========================================
   6. OUR TEAM SECTION
   ========================================== */
.team-card {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(147, 51, 234, 0.2);
  padding: 2.5rem;
  border-radius: 20px;
}

@media (min-width: 768px) {
  .team-card {
    display: grid;
    grid-template-columns: 1fr 240px;
    align-items: center;
  }
}

.role-title {
  color: var(--accent-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.headshot {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-purple);
  margin: 0 auto;
}


/* ==========================================
   7. TESTIMONIALS SECTION
   ========================================== */
.testimonial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid var(--accent-purple);
  padding: 1.5rem 2rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-row {
    grid-template-columns: 220px 1fr;
    align-items: center;
  }
}

.testimonial-author strong {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--accent-light);
}

.testimonial-body {
  font-style: italic;
  color: var(--text-muted);
}


/* ==========================================
   8. FOOTER
   ========================================== */
footer {
  background-color: #04010a;
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-icons a {
  color: var(--accent-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.social-icons a:hover {
  opacity: 0.7;
}
