/* Homepage Sections CSS - Services, Impact, Case Studies, Insights, Testimonials, CTA */

/* What We Do - Services Snapshot Styles START */
.services-snapshot {
  padding: 80px 0;
  background: linear-gradient(45deg, #330867, #30CFD0);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-panel {
  background: white;
  padding: 40px 30px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(30, 52, 141, 0.1);
}

.service-panel:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(30, 52, 141, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #330867, #30CFD0);
  border-radius: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 32px;
}

.service-panel h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
  font-family: 'OpenSans-Bold', sans-serif;
}

.service-panel p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 16px;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e348d;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 12px 24px;
  border: 2px solid #1e348d;
  border-radius: 8px;
}

.learn-more-btn:hover {
  background: #1e348d;
  color: white;
  transform: translateX(5px);
}

/* Our Impact - Results & Value Styles START */
.impact-section {
  padding: 100px 0;
  background: #0755E9 ;
  color: white;
  text-align: center;
}

.impact-title {
  font-size: 48px;
  font-weight: 100;
  margin-bottom: 60px;
  font-family: 'OpenSans-Bold', sans-serif;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.metric-item {
  text-align: center;
}

.metric-number {
  font-size: 64px;
  font-weight: 100;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: 'OpenSans-Bold', sans-serif;
}

.metric-label {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.impact-subtext {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Case Studies / Work Highlights Styles START */
.case-studies-section {
  padding: 100px 0;
  background: #f8fafc;
}

.section-title {
  font-size: 42px;
  font-weight: 100;
  text-align: center;
  margin-bottom: 60px;
  color: #1B1B1B;
  font-family: 'OpenSans-Bold', sans-serif;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.case-study-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-study-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-study-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 52, 141, 0.9), rgba(37, 99, 235, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.case-study-card:hover .case-study-overlay {
  opacity: 1;
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.1);
}

.overlay-content {
  text-align: center;
  color: white;
  padding: 20px;
}

.overlay-content h4 {
  font-size: 24px;
  margin-bottom: 15px;
  font-family: 'OpenSans-Bold', sans-serif;
}

.overlay-content p {
  margin-bottom: 20px;
  line-height: 1.5;
}

.view-case-btn {
  display: inline-block;
  padding: 12px 24px;
  background: white;
  color: #1e348d;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-case-btn:hover {
  background: #fbbf24;
  color: white;
  transform: translateY(-2px);
}

.case-study-info {
  padding: 25px;
}

.case-study-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  font-family: 'OpenSans-Bold', sans-serif;
}

.case-study-info p {
  color: #64748b;
  font-size: 14px;
}

/* Insights / Thought Leadership Styles START */
.insights-section {
  padding: 100px 0;
  background: #D2D9D9;
}

.insights-carousel-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.insights-carousel-container {
  overflow: hidden;
  border-radius: 1px;
}

.insights-carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  gap: 30px;
}

.insights-slide {
  flex: 0 0 calc(100% - 30px);
  min-width: 0;
}

@media (min-width: 768px) {
  .insights-slide {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (min-width: 1200px) {
  .insights-slide {
    flex: 0 0 calc(33.333% - 20px);
  }
}

.insight-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 1px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(30, 52, 141, 0.1);
}

.insight-image {
  height: 200px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.insight-card:hover .insight-image img {
  transform: scale(1.05);
}

.insight-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1B1B1B;
  margin-bottom: 15px;
}

.insight-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #1B1B1B;
  margin-bottom: auto;
}

.insight-link {
  color: #1e348d;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.insight-link:hover {
  color: #ffffff;
  background: #44bce2;
  transform: translateX(5px);
}

/* Button Styles for Insight Cards */
.insight-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn-get-quote,
.btn-learn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

.btn-get-quote {
  background: #0755E9;
  color: #ffffff;
  border: none;
}

.btn-get-quote:hover {
  background: linear-gradient(135deg, #30adbe 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(68, 188, 226, 0.4);
}

.btn-learn-more {
  background: transparent;
  color: #0755E9;
  border: 2px solid #0755E9;
}

.btn-learn-more:hover {
  background: rgba(68, 188, 226, 0.1);
  border-color: #30adbe;
  color: #30adbe;
  transform: translateY(-2px);
}

.insights-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(68, 188, 226, 0.2);
  border: 1px solid rgba(68, 188, 226, 0.3);
  color: #1B1B1B;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.insights-carousel-nav:hover:not(:disabled) {
  background: rgba(68, 188, 226, 0.4);
  border-color: rgba(68, 188, 226, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.insights-carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.insights-prev {
  left: -70px;
}

.insights-next {
  right: -70px;
}

.insights-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.insights-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(68, 188, 226, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.insights-carousel-dot.active {
  background: linear-gradient(135deg, #44bce2, #667eea);
  border-color: #44bce2;
  transform: scale(1.2);
}

.insights-carousel-dot:hover {
  border-color: rgba(68, 188, 226, 0.6);
}

.insights-cta {
  text-align: center;
}

.view-all-btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #330867 0%, #30CFD0 100%);
  color: white;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(30, 52, 141, 0.3);
}

/* Client Logos & Testimonials Styles START */
.testimonials-section {
  padding: 100px 0;
  background: #f8fafc;
}

.client-logos {
  text-align: center;
  margin-bottom: 80px;
}

.client-logos h3 {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 40px;
  font-family: 'OpenSans-Bold', sans-serif;
}

.logos-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.logos-strip img {
  height: 60px;
  width: auto;
  opacity: 0.7;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.logos-strip img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  display: none;
  text-align: center;
  padding: 40px;
}

.testimonial-item.active {
  display: block;
}

.testimonial-content p {
  font-size: 24px;
  line-height: 1.6;
  color: #1e293b;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.author-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
  font-family: 'OpenSans-Bold', sans-serif;
}

.author-info span {
  color: #64748b;
  font-size: 16px;
}

.company-logo img {
  height: 50px;
  width: auto;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-nav button {
  width: 50px;
  height: 50px;
  border: 2px solid #1e348d;
  background: white;
  color: #1e348d;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-nav button:hover {
  background: #1e348d;
  color: white;
}

/* Call to Action - Start the Journey Styles START */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  font-family: 'OpenSans-Bold', sans-serif;
}

.cta-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #1e348d, #2563eb);
  color: white;
  border-color: #1e348d;
}

.cta-btn.primary:hover {
  background: white;
  color: #1e348d;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-btn.secondary:hover {
  background: white;
  color: #1e293b;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .metric-number {
    font-size: 48px;
  }

  .impact-title {
    font-size: 36px;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .insights-slide {
    flex: 0 0 100% !important;
  }

  .insights-prev,
  .insights-next {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    margin: 20px 10px 0 10px;
  }

  .insights-carousel-nav:hover {
    transform: scale(1.1);
  }

  .logos-strip {
    gap: 30px;
  }

  .logos-strip img {
    height: 40px;
  }

  .cta-title {
    font-size: 36px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-author {
    flex-direction: column;
    gap: 15px;
  }
}