/* ============================================
   GUIDESTONE HEALTHCARE CONSULTING
   Main Stylesheet
   Colors: Navy #0B3D5C | Teal #0FA3A3 | Light Teal #E8F6F6
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0B3D5C;
  --navy-light: #134a6e;
  --teal: #0FA3A3;
  --teal-dark: #0C8585;
  --teal-light: #E8F6F6;
  --white: #FFFFFF;
  --off-white: #F8FAFA;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--teal-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.25;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--off-white);
}

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

.section--navy {
  background: var(--navy);
  color: var(--white);
}
.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.text-center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--secondary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo img {
  height: 45px;
  width: auto;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav__link {
  display: block;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav__link:hover,
.nav__link--active {
  color: var(--teal);
  background: var(--teal-light);
}

.nav__cta {
  margin-left: 8px;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, #0d4d73 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(15, 163, 163, 0.08);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(15, 163, 163, 0.05);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__text {
  color: var(--white);
}

.hero__label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.hero__title {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  z-index: 1;
}

.hero__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 1.5rem;
}

.feature-card__title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* --- Services (detailed) --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.service-detail:not(:last-child) {
  border-bottom: 1px solid var(--gray-200);
}
.service-detail--reverse {
  direction: rtl;
}
.service-detail--reverse > * {
  direction: ltr;
}

.service-detail__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.service-detail__content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-detail__content p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-detail__list {
  list-style: none;
  padding: 0;
}
.service-detail__list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gray-700);
  font-size: 0.95rem;
}
.service-detail__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* --- Why Choose / Value Props --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.25rem;
}

.value-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* --- Stats Banner --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}
.section--navy .stat__number {
  color: var(--teal);
}

.stat__label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}
.section--navy .stat__label {
  color: rgba(255,255,255,0.7);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0d4d73 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(15, 163, 163, 0.1);
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* --- About Page --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-intro__content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-intro__content p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* --- Blog / Resources --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

a.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card:hover .blog-card__title {
  color: var(--teal);
}
.blog-card:hover .blog-card__link {
  color: var(--teal-dark);
}

.blog-card__image {
  height: 200px;
  overflow: hidden;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 24px;
}

.blog-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.blog-card__title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
  color: var(--navy);
  transition: color var(--transition);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.blog-card__link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  transition: color var(--transition);
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.faq-item__question:hover {
  color: var(--teal);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform var(--transition);
  margin-left: 16px;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-item__answer {
  max-height: 400px;
}

.faq-item__answer p {
  padding: 0 0 24px;
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
}

.contact-info__label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-info__value {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 163, 163, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.active {
  display: block;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer__brand img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer__heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
}
.footer__links li {
  margin-bottom: 10px;
}
.footer__links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__links a:hover {
  color: var(--teal);
}

.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #0d4d73 100%);
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(15,163,163,0.06);
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* --- Image Placeholders --- */
.placeholder-img {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  min-height: 250px;
  border-radius: var(--radius-lg);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__image {
    max-width: 500px;
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-detail--reverse {
    direction: ltr;
  }
  .about-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  .hero__title {
    font-size: 2.25rem;
  }
  .hero__buttons {
    flex-direction: column;
    gap: 12px;
  }
  .hero__buttons .btn {
    text-align: center;
  }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 16px 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.35s ease;
  }
  .nav.active {
    transform: translateY(0);
    opacity: 1;
  }
  .nav__list {
    flex-direction: column;
    gap: 4px;
  }
  .nav__cta {
    margin-left: 0;
    margin-top: 8px;
  }
  .nav__toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 40px 24px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .page-header {
    padding: 120px 0 48px;
  }
  .page-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
}
