/* ============================================
   Black Lab Solutions - Static Site Styles
   ============================================ */

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

:root {
  --blue: #0047FF;
  --blue-light: #dde7fe;
  --blue-bg: #e8eeff;
  --dark: #242323;
  --white: #ffffff;
  --gray-light: #f5f7ff;
  --font-main: 'Inter', Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  font-size: 16px;
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 4px;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero-title {
  font-size: 80px;
  font-weight: 400;
  color: var(--blue-light);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--blue-light);
  margin-bottom: 40px;
  font-weight: 400;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-family: var(--font-main);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-outline {
  color: var(--blue-light);
  border: 2px solid var(--blue-light);
  background: transparent;
}

.btn-outline:hover {
  background: var(--blue-light);
  color: var(--dark);
}

.btn-primary {
  background: var(--blue);
  color: var(--blue-light);
  border: 2px solid var(--blue);
}

.btn-primary:hover {
  background: #0035cc;
  border-color: #0035cc;
}

.btn-full {
  width: 100%;
}

.btn-text {
  display: inline-block;
  color: var(--blue);
  font-size: 16px;
  padding: 8px 0;
  transition: opacity 0.2s;
}

.btn-text:hover {
  opacity: 0.7;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 60px 0;
}

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

.section-title {
  font-size: 64px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 16px;
}

.divider {
  width: 100%;
  height: 2px;
  background: var(--blue);
  margin-bottom: 40px;
}

/* ============================================
   Home: AI Feature Section
   ============================================ */
.home-ai-section {
  background: linear-gradient(135deg, var(--blue) 0%, #0035cc 100%);
  padding: 60px 0;
}

.home-ai-banner {
  color: var(--white);
}

.home-ai-text h2 {
  font-size: 36px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}

.home-ai-text > p {
  font-size: 17px;
  color: var(--blue-light);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 32px;
}

.home-ai-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.home-ai-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--white);
}

.home-ai-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.home-ai-item strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.home-ai-item span {
  display: block;
  font-size: 14px;
  color: var(--blue-light);
  line-height: 1.4;
}

.home-ai-text .btn-primary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.home-ai-text .btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}

.home-ai-text .btn-outline-blue {
  color: var(--white);
  border: 2px solid var(--white);
  background: transparent;
  padding: 12px 28px;
  font-size: 16px;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.home-ai-text .btn-outline-blue:hover {
  background: var(--white);
  color: var(--blue);
}

/* ============================================
   Home: Services Grid
   ============================================ */
.home-services-intro {
  font-size: 18px;
  color: var(--blue);
  margin-bottom: 32px;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-service-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid #d8dfef;
  border-radius: 8px;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.home-service-tile:hover {
  box-shadow: 0 4px 20px rgba(0, 71, 255, 0.1);
  transform: translateY(-2px);
}

.home-service-tile.home-service-featured {
  border-color: var(--blue);
  border-width: 2px;
  background: #f0f4ff;
}

.home-service-tile svg {
  color: var(--blue);
  margin-bottom: 12px;
}

.home-service-tile h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}

.home-service-tile p {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-ai-highlights {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-ai-text h2 {
    font-size: 28px;
  }

  .home-ai-section {
    padding: 40px 0;
  }
}

/* ============================================
   Blog Posts Grid
   ============================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
}

.post-content {
  padding: 16px 0;
}

.post-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.4;
}

.post-title a {
  color: var(--blue);
  transition: opacity 0.2s;
}

.post-title a:hover {
  opacity: 0.7;
}

.post-excerpt {
  font-size: 14px;
  color: var(--blue);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ============================================
   Services
   ============================================ */
.service-card {
  display: flex;
  align-items: stretch;
  background: var(--white);
  margin-bottom: 24px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.service-image {
  flex: 0 0 360px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-info {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-name {
  font-size: 40px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 12px;
}

.service-price {
  font-size: 16px;
  color: var(--blue);
  margin-bottom: 20px;
}

.service-info .btn {
  align-self: flex-start;
  margin-bottom: 8px;
}

.service-info .btn-text {
  align-self: flex-start;
}

/* ============================================
   Clients Section
   ============================================ */
.clients-label {
  font-size: 18px;
  color: var(--blue);
  margin-bottom: 24px;
}

.clients-description {
  font-size: 28px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1.5;
  max-width: 820px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--blue-bg);
  padding: 0 0 40px;
}

.footer-divider {
  width: calc(100% - 240px);
  max-width: 1200px;
  height: 3px;
  background: var(--blue);
  margin: 0 auto 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.footer-heading {
  font-size: 33px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 40px;
}

/* Subscribe Form */
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 16px;
  color: var(--blue);
  font-weight: 400;
}

.required {
  color: var(--blue);
}

.form-group input {
  padding: 10px 0;
  font-size: 16px;
  font-family: var(--font-main);
  border: none;
  border-bottom: 2px solid var(--blue);
  background: transparent;
  color: var(--blue);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder {
  color: var(--blue);
  opacity: 0.6;
}

.form-group input:focus {
  border-bottom-color: #0035cc;
}

/* Footer Contact */
.footer-brand {
  display: block;
  font-size: 33px;
  color: var(--blue);
  margin-bottom: 8px;
  font-weight: 400;
}

.footer-tagline {
  font-size: 33px;
  color: var(--blue);
  font-weight: 400;
  margin-bottom: 40px;
}

.footer-details {
  margin-bottom: 32px;
}

.footer-details p,
.footer-details a {
  font-size: 16px;
  color: var(--blue);
  line-height: 1.8;
  display: block;
}

.footer-link {
  color: var(--blue);
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-legal {
  margin-bottom: 24px;
}

.footer-legal p,
.footer-legal a {
  font-size: 16px;
  color: var(--blue);
  line-height: 1.6;
  display: block;
}

.copyright {
  font-size: 16px;
  color: var(--blue);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 56px;
  }

  .section-title {
    font-size: 48px;
  }

  .service-name {
    font-size: 30px;
  }

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

  .footer-inner {
    gap: 40px;
  }

  .clients-description {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    padding: 12px 20px;
  }

  /* Mobile nav */
  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav.open {
    display: flex;
  }

  .hero {
    height: 400px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 36px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    flex-direction: column;
  }

  .service-image {
    flex: none;
    height: 240px;
  }

  .service-info {
    padding: 24px;
  }

  .service-name {
    font-size: 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-divider {
    width: calc(100% - 40px);
  }

  .footer-brand,
  .footer-tagline {
    font-size: 26px;
  }

  .footer-heading {
    font-size: 26px;
  }

  .clients-description {
    font-size: 18px;
  }

  .hero-content {
    padding: 0 20px;
  }
}

/* ============================================
   Page Header (non-home pages)
   ============================================ */
.page-header {
  padding: 40px 0 20px;
  background: var(--gray-light);
}

.page-title {
  font-size: 64px;
  font-weight: 400;
  color: var(--blue);
}

/* ============================================
   Blog Listing Page
   ============================================ */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-list-item {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e0e0e0;
}

.blog-list-item:last-child {
  border-bottom: none;
}

.blog-list-image {
  width: 400px;
  height: 225px;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-list-body {
  flex: 1;
}

.blog-list-body .post-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.post-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.post-author-name {
  font-size: 14px;
  color: var(--blue);
}

.blog-list-body h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-list-body h2 a {
  color: var(--blue);
}

.blog-list-body h2 a:hover {
  opacity: 0.7;
}

.blog-list-body .post-date {
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 8px;
}

.blog-list-body .post-excerpt {
  font-size: 15px;
  -webkit-line-clamp: 3;
}

/* ============================================
   Blog Post Page
   ============================================ */
.blog-post {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}

.blog-post .breadcrumb {
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 24px;
}

.blog-post .breadcrumb a {
  color: var(--blue);
}

.blog-post .breadcrumb a:hover {
  opacity: 0.7;
}

.blog-post .post-header {
  margin-bottom: 32px;
}

.blog-post .post-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.blog-post .post-author-info {
  font-size: 14px;
  color: var(--blue);
}

.blog-post h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 24px;
}

.blog-post .post-body {
  color: var(--blue);
}

.blog-post .post-body p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-post .post-body h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--blue);
  margin: 40px 0 16px;
}

.blog-post .post-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin: 32px 0 12px;
}

.blog-post .post-body img {
  width: 100%;
  margin: 24px 0;
}

.blog-post .post-body ul,
.blog-post .post-body ol {
  margin: 16px 0 20px 24px;
  color: var(--blue);
}

.blog-post .post-body li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.blog-post .post-body strong {
  font-weight: 700;
}

.blog-post .post-body blockquote {
  font-size: 24px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1.5;
  margin: 24px 0;
  padding-left: 20px;
  border-left: 3px solid var(--blue);
}

/* Blog Inline CTAs */
.blog-cta {
  margin: 32px 0;
  padding: 24px 28px;
  border-radius: 8px;
  background: var(--blue-bg);
  border-left: 4px solid var(--blue);
}

.blog-cta p {
  font-size: 16px !important;
  color: var(--blue) !important;
  margin-bottom: 12px !important;
  line-height: 1.5 !important;
}

.blog-cta .btn {
  margin-right: 12px;
}

.blog-cta-featured {
  background: linear-gradient(135deg, var(--blue) 0%, #0035cc 100%);
  border-left: none;
  text-align: center;
  padding: 32px;
}

.blog-cta-featured p {
  color: var(--blue-light) !important;
  max-width: 520px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.blog-cta-featured .cta-heading {
  font-size: 22px !important;
  font-weight: 500;
  color: var(--white) !important;
  margin-bottom: 8px !important;
}

.blog-cta-featured .btn-primary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.blog-cta-featured .btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}


/* Related Posts */
.related-posts {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 40px 60px;
}

.related-posts h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 24px;
}

/* ============================================
   Book Online / Services Grid
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-grid-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-grid-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.service-grid-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-grid-card-body h2 {
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 8px;
}

.service-grid-card-body .service-duration {
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 4px;
}

.service-grid-card-body .service-price {
  font-size: 16px;
  color: var(--blue);
  margin-bottom: 16px;
}

.service-grid-card-body .btn {
  align-self: flex-start;
  margin-bottom: 8px;
}

.service-grid-card-body .btn-text {
  align-self: flex-start;
}

/* ============================================
   Services Page v2
   ============================================ */
.services-intro {
  font-size: 18px;
  color: var(--blue);
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 48px;
}

/* Services Hero CTA */
.services-hero-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 48px;
  margin-bottom: 48px;
  background: linear-gradient(135deg, var(--blue) 0%, #0035cc 100%);
  border-radius: 8px;
  color: var(--white);
}

.services-hero-text {
  flex: 1;
}

.services-hero-text h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.services-hero-text p {
  font-size: 16px;
  color: var(--blue-light);
  line-height: 1.6;
  max-width: 560px;
}

.services-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.services-hero-actions .btn-primary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.services-hero-actions .btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}

.services-hero-actions .btn-outline-blue {
  color: var(--white);
  border-color: var(--white);
}

.services-hero-actions .btn-outline-blue:hover {
  background: var(--white);
  color: var(--blue);
}

@media (max-width: 768px) {
  .services-hero-cta {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .services-hero-actions {
    width: 100%;
  }

  .services-hero-actions .btn {
    display: block;
  }
}

.services-category {
  font-size: 28px;
  font-weight: 500;
  color: var(--blue);
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue);
}

.services-category:first-of-type {
  margin-top: 0;
}

.services-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 16px;
}

.service-card-v2 {
  background: var(--white);
  border: 1px solid #d8dfef;
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card-v2:hover {
  box-shadow: 0 4px 20px rgba(0, 71, 255, 0.1);
  transform: translateY(-2px);
}

.service-card-icon {
  color: var(--blue);
  margin-bottom: 16px;
}

.service-card-v2 h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

/* Service Resource Links */
.service-resources {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--blue-bg);
  border-radius: 6px;
}

.service-resources .resources-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.service-resources a {
  display: block;
  font-size: 14px;
  color: var(--blue);
  padding: 4px 0;
  transition: opacity 0.2s;
}

.service-resources a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230047FF' stroke-width='2'%3E%3Cpath d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.service-resources a:hover {
  opacity: 0.7;
}

.service-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 0;
  border-top: 1px solid #e8eeff;
  border-bottom: 1px solid #e8eeff;
}

.service-duration-v2 {
  font-size: 14px;
  color: #718096;
}

.service-price-v2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}

.service-card-v2 .btn {
  align-self: stretch;
  text-align: center;
}

.service-consult-note {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #718096;
  margin-top: 8px;
}

/* Services CTA */
.services-cta {
  text-align: center;
  padding: 60px 40px;
  margin-top: 48px;
  background: var(--white);
  border: 1px solid #d8dfef;
  border-radius: 8px;
}

.services-cta h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 12px;
}

.services-cta p {
  font-size: 18px;
  color: #4a5568;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-cta .btn {
  margin: 0 8px;
}

.btn-outline-blue {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-family: var(--font-main);
  color: var(--blue);
  border: 2px solid var(--blue);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  border-radius: 0;
}

.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}

@media (max-width: 768px) {
  .services-grid-v2 {
    grid-template-columns: 1fr;
  }

  .services-cta {
    padding: 40px 20px;
  }

  .services-cta .btn {
    display: block;
    margin: 8px 0;
  }
}

/* ============================================
   Resource Pages
   ============================================ */
.resource-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 40px 60px;
  color: var(--blue);
}

.resource-breadcrumb {
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 24px;
}

.resource-breadcrumb a {
  color: var(--blue);
}

.resource-breadcrumb a:hover {
  opacity: 0.7;
}

.resource-page h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 32px;
}

.resource-page h2 {
  font-size: 26px;
  font-weight: 500;
  color: var(--blue);
  margin: 36px 0 14px;
}

.resource-page h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  margin: 24px 0 10px;
}

.resource-page p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #2d3748;
}

.resource-page ul,
.resource-page ol {
  margin: 12px 0 20px 24px;
  color: #2d3748;
}

.resource-page li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.resource-page strong {
  font-weight: 600;
  color: var(--blue);
}

.resource-page details {
  margin-bottom: 16px;
  border: 1px solid #d8dfef;
  border-radius: 6px;
  overflow: hidden;
}

.resource-page summary {
  padding: 14px 18px;
  font-size: 17px;
  font-weight: 500;
  color: var(--blue);
  cursor: pointer;
  background: var(--blue-bg);
}

.resource-page summary:hover {
  background: #d8e2ff;
}

.resource-page details[open] summary {
  border-bottom: 1px solid #d8dfef;
}

.resource-page details > div,
.resource-page details > p {
  padding: 14px 18px;
}

.resource-cta {
  text-align: center;
  padding: 48px 32px;
  margin-top: 48px;
  background: linear-gradient(135deg, var(--blue) 0%, #0035cc 100%);
  border-radius: 8px;
  color: var(--white);
}

.resource-cta h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 10px;
}

.resource-cta p {
  font-size: 17px;
  color: var(--blue-light);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.resource-cta .btn-primary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.resource-cta .btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}

@media (max-width: 768px) {
  .resource-page {
    padding: 24px 20px 40px;
  }

  .resource-page h1 {
    font-size: 28px;
  }

  .resource-cta {
    padding: 32px 20px;
  }
}

/* ============================================
   Courses Landing Page
   ============================================ */
.courses-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0035cc 100%);
  padding: 60px 0;
  text-align: center;
}

.courses-hero h1 {
  font-size: 48px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
}

.courses-hero p {
  font-size: 18px;
  color: var(--blue-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.course-card {
  background: var(--white);
  border: 1px solid #d8dfef;
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.course-card:hover {
  box-shadow: 0 4px 20px rgba(0, 71, 255, 0.1);
  transform: translateY(-2px);
}

.course-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-card-icon {
  color: var(--blue);
  margin-bottom: 16px;
}

.course-card h2 {
  font-size: 22px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.3;
}

.course-desc {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
}

.course-days {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--blue-bg);
  border-radius: 6px;
}

.course-days span {
  font-size: 14px;
  color: var(--blue);
  padding-left: 20px;
  position: relative;
}

.course-days span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.course-audience {
  font-size: 13px;
  color: #718096;
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}

/* How It Works */
.courses-how-it-works {
  text-align: center;
  margin-bottom: 48px;
}

.courses-how-it-works h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 32px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.how-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.how-step h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 8px;
}

.how-step p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.5;
}

/* Enrollment CTA */
.courses-enroll {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 8px;
}

.courses-enroll h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 12px;
}

.courses-enroll > p {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 24px;
}

/* Enrollment Form */
.enroll-form {
  max-width: 480px;
  margin: 0 auto;
}

.enroll-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.enroll-fields input,
.enroll-fields select {
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-main);
  border: 2px solid #d8dfef;
  border-radius: 6px;
  background: var(--white);
  color: var(--dark);
  -webkit-appearance: none;
}

.enroll-fields input:focus,
.enroll-fields select:focus {
  border-color: var(--blue);
  outline: none;
}

.enroll-fields select {
  cursor: pointer;
}

.enroll-status {
  font-size: 15px;
  margin-top: 12px;
  min-height: 20px;
}

.courses-enroll-note {
  font-size: 13px;
  color: #718096;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .courses-hero h1 {
    font-size: 32px;
  }

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

  .how-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .courses-enroll {
    padding: 32px 20px;
  }
}

/* Challenge detail page */
.challenge-detail {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}

.challenge-detail .challenge-hero {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
  margin-bottom: 32px;
}

.challenge-detail h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 8px;
}

.challenge-detail .challenge-steps {
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 24px;
}

.challenge-detail h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--blue);
  margin: 32px 0 16px;
}

.challenge-detail p {
  font-size: 16px;
  color: var(--blue);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ============================================
   Privacy Policy Page
   ============================================ */
.policy-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}

.policy-content h1 {
  font-size: 64px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 32px;
  line-height: 1.1;
}

.policy-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin: 32px 0 12px;
}

.policy-content p {
  font-size: 16px;
  color: var(--blue);
  line-height: 1.7;
  margin-bottom: 16px;
}

.policy-content a {
  color: var(--blue);
  text-decoration: underline;
}

/* ============================================
   Booking Page
   ============================================ */
.booking-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}

.booking-page h1 {
  font-size: 32px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 8px;
}

.booking-page .booking-subtitle {
  font-size: 16px;
  color: var(--blue);
  margin-bottom: 32px;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  border: 1px solid #e0e0e0;
  padding: 32px;
  background: var(--white);
}

.booking-layout h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
}

.booking-notice {
  background: var(--blue-bg);
  padding: 24px;
  border-radius: 4px;
  text-align: center;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.6;
}

.booking-notice a {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-list-image {
    width: 300px;
    height: 170px;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 36px;
  }

  .blog-list-item {
    flex-direction: column;
  }

  .blog-list-image {
    flex: none;
    width: 100%;
  }

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

  .blog-post {
    padding: 24px 20px 40px;
  }

  .blog-post h1 {
    font-size: 28px;
  }

  .policy-content {
    padding: 24px 20px 40px;
  }

  .policy-content h1 {
    font-size: 40px;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .challenge-detail {
    padding: 24px 20px 40px;
  }

  .related-posts {
    padding: 0 20px 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .logo {
    height: 36px;
  }
}
