/* Base Styles */
:root {
  --accent-blue: #3478f6;
  --accent-green: #379b10;
  --button-hover: #e6e6e6;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;
}

/* Enhanced Navbar */
.navbar {
  background: linear-gradient(135deg, #0e1a2b, #1c2e4a);
  padding: 0.25rem 0 0.5rem 0;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.4s ease-in-out;
}

.logo {
  margin-bottom: 0.25rem;
  padding-top: 0.25rem;
}

.logo a {
  display: block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo a:hover {
  opacity: 0.8;
}

.logo img {
  max-width: 300px;
  height: auto;
  margin-bottom: 0rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: white; /* white text for dark navbar background */
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-blue);
  background-color: rgba(52, 120, 246, 0.1);
}

.nav-links a.active {
  color: var(--accent-blue);
  background-color: rgba(52, 120, 246, 0.1);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtext {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #666;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* New unified button group for service pages */
.service-button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.service-button-group .button {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.service-button-group .button.back {
  background-color: #2563eb;
  color: white;
}

.service-button-group .button.back:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.service-button-group .button.primary {
  background-color: #379b10;
  color: white;
}

.service-button-group .button.primary:hover {
  background-color: #379b10;
  transform: translateY(-1px);
}

.service-button-group .button.secondary {
  background-color: #374151;
  color: white;
}

.service-button-group .button.secondary:hover {
  background-color: #1f2937;
  transform: translateY(-1px);
}

/* Back Button */
.back-button {
  text-align: center;
  margin-bottom: 2rem;
}

.back-button .button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #666;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.back-button .button:hover {
  background-color: #999;
  transform: translateY(-2px);
}

/* Services Preview Section */
.services-preview {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-preview h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--accent-blue);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* First row: AI Strategy Reports - spans 4 columns (full width) */
.service-grid .service-card:nth-child(1) {
  grid-column: 1 / 5;
}

/* Second row: Hands-On Implementation and Team Training - each spans 2 columns */
.service-grid .service-card:nth-child(2),
.service-grid .service-card:nth-child(3) {
  grid-column: span 2;
}

/* Third row: Ongoing Advisory - spans 4 columns (full width) */
.service-grid .service-card:nth-child(4) {
  grid-column: 1 / 5;
}

/* On smaller screens, use simpler layout */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .service-grid .service-card:nth-child(1),
  .service-grid .service-card:nth-child(2),
  .service-grid .service-card:nth-child(3),
  .service-grid .service-card:nth-child(4) {
    grid-column: auto;
  }
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-color: var(--accent-blue);
}

.service-card img {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.service-card h3 {
  margin: 0 0 1rem 0;
  color: var(--accent-blue);
  font-size: 1.3rem;
}

.service-card p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* Service Detail Pages */
.service-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.service-detail h1 {
  font-size: 2.5rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  text-align: center;
}

.service-detail .subtitle {
  font-size: 1.3rem;
  color: #666;
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
}

.service-detail h2 {
  color: var(--accent-blue);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.service-detail ul {
  margin-bottom: 2rem;
}

.service-detail li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.service-detail .button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: var(--accent-blue);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.service-detail .button:hover {
  background-color: var(--accent-green);
  transform: translateY(-2px);
}

/* Enhanced Buttons */
.button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  background-color: var(--accent-blue);
  color: white;
}

.button:hover {
  background-color: var(--accent-green);
  transform: translateY(-2px);
}

.button.secondary {
  background-color: #666;
  color: white;
}

.button.secondary:hover {
  background-color: #999;
  transform: translateY(-2px);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background-color: var(--accent-blue);
  color: white;
}

.btn.primary:hover {
  background-color: var(--accent-green);
  transform: translateY(-2px);
}

.btn.secondary {
  background-color: #666;
  color: white;
}

.btn.secondary:hover {
  background-color: #999;
  transform: translateY(-2px);
}

/* Content Layout Classes */
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.section {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 2rem;
}

.service-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem auto;
  display: block;
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  margin-top: 4rem;
}

.footer p {
  margin: 0;
  color: #777;
  font-size: 0.9rem;
}

.footer a {
  color: var(--accent-blue);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Pricing Page Styles */
.pricing-section {
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  padding: 2rem;
}

.pricing-section h2 {
  color: var(--accent-blue);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Ensure ALL images in pricing flow are small */
.pricing-flow img {
  width: 80px !important;
  height: 80px !important;
}

.pricing-flow {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-block {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

.pricing-block img {
  width: 80px !important;
  height: 80px !important;
  flex-shrink: 0;
  order: 2;
}

.pricing-text {
  flex: 1;
  order: 1;
}

.pricing-text h2 {
  color: var(--accent-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

.pricing-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.pricing-text ul {
  margin: 0;
  padding-left: 1.5rem;
}

.pricing-text li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Project Cards (Custom Projects Page) */
.project-types {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.project-types h2 {
  color: var(--accent-blue);
  text-align: center;
  margin-bottom: 3rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  text-align: center;
}

.project-card img {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 1.5rem auto;
  display: block;
}

.project-card h3 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.project-card p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-card .price-tag {
  font-weight: 600;
  color: var(--accent-green);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* CTA Block for Custom Projects */
.cta-block {
  max-width: 800px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  text-align: center;
}

.cta-block h2 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.cta-block p {
  margin-bottom: 2rem;
  color: #666;
}

.callout-block {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px solid var(--accent-blue);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
}

.callout-block h2 {
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.callout-block .highlight {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.text-content h3 {
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.price-range {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

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

.build-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.build-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

.build-card:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.build-card:nth-child(even) .card-content {
  order: 2;
}

.build-card:nth-child(even) .card-image {
  order: 1;
}

.card-content h3 {
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.training-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.training-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

.training-card h3 {
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.session-info {
  font-style: italic;
  color: #666;
  margin-bottom: 1.5rem;
}

.partnership-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.tier-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  position: relative;
  text-align: center;
}

.tier-card.popular {
  border: 2px solid var(--accent-green);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-green);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tier-card h3 {
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.tier-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.tier-card ul {
  text-align: left;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-preview {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.newsletter-preview h3 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.footer-cta {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 2rem;
}

.footer-cta h2 {
  color: white;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Pricing Styles */
@media (max-width: 1024px) {
  .section-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .build-card {
    grid-template-columns: 1fr;
  }
  
  .build-card:nth-child(even) .card-content {
    order: 1;
  }
  
  .build-card:nth-child(even) .card-image {
    order: 2;
  }
  
  .training-options {
    grid-template-columns: 1fr;
  }
  
  .partnership-tiers {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tier-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 1rem;
  }
  
  .pricing-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }
  
  .pricing-block img {
    width: 80px !important;
    height: 80px !important;
    order: 1;
    margin-bottom: 1rem;
  }
  
  .pricing-text {
    order: 2;
  }
  
  .pricing-text h2 {
    text-align: center;
  }
  
  .callout-block {
    padding: 2rem;
  }
  
  .build-card,
  .training-card,
  .tier-card {
    padding: 1.5rem;
  }
  
  .footer-cta {
    padding: 2rem 1rem;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card {
    padding: 1.5rem;
  }
  
  .cta-block {
    padding: 2rem 1rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    width: 100%;
    max-width: 300px;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services-preview {
    padding: 2rem 1rem;
  }
  
  .hero {
    padding: 2rem 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .content {
    padding: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .services-preview h2 {
    font-size: 1.6rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .logo img {
    max-width: 264px;
  }
}

/* FAQ Page Styles */
.hero .faq-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem 2rem 0;
  margin: 3rem auto;
  text-align: left;
  max-width: 1000px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  font-size: 1rem;
  color: #333;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.faq-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.faq-item p {
  margin: 0 0 1rem 0;
  padding: 0 0 0 4rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.faq-item ul,
.faq-item ol {
  margin: 0 0 1.5rem 5.25rem;
  padding: 0;
}

.faq-item li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.faq-item p + ul,
.faq-item p + ol {
  margin-top: -0.5rem; /* tighten spacing between paragraph and list */
}

@media (max-width: 768px) {
  .faq-item {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
  }
  
  .hero .faq-content {
    gap: 1.5rem;
  }
}

/* Framework Section - Column-based Step Layout */
.framework {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
}

.framework h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--accent-blue);
  line-height: 1.2;
}

.steps {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.step-column {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-link {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  padding: 1.5rem;
  background: #fff;
  border: 2px solid #f0f0f0;
  width: 100%;
  box-sizing: border-box;
}

.step-link:hover,
.step-link:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(52, 120, 246, 0.15);
  border-color: var(--accent-blue);
  outline: none;
}

.step-link.active {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 15px rgba(52, 120, 246, 0.2);
}

.step {
  text-align: center;
}

.step img {
  width: 240px;
  height: 240px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-blue);
  font-weight: 600;
}

.step p {
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.step-detail {
  margin-top: 2rem;
  padding: 0;
  width: 100%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.step-detail.active {
  opacity: 1;
  max-height: 400px;
  padding: 1.5rem;
}

.step-detail img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Framework */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .step-column {
    min-width: 280px;
    max-width: 100%;
  }
  
  .framework {
    padding: 3rem 1rem;
  }
  
  .framework h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .step img {
    width: 200px;
    height: 200px;
  }
  
  .step h3 {
    font-size: 1.2rem;
  }
  
  .step p {
    font-size: 0.9rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.framework {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
