/* --- case-studies Policy Page Specific Styles --- */

/* Hero Section */
.case-studies-hero-section {
  color: #fff;
  padding: 180px 0 120px 0;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
  background-image: url("../images/hero-bg-case-studies.png");
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(25px);
  position: relative;
  overflow: hidden;
}

.case-studies-hero-bg-pattern {
  position: absolute;
  top: 0px;
  left: 10px;
}

.case-studies-hero-section h1 {
  text-align: center;
  font-family: "Helvetica";
  font-size: 60px;
  font-style: normal;
  font-weight: 800;
  line-height: 120px;
  background: linear-gradient(90deg, #fffcfb 0%, #89dff8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.case-studies-hero-section p {
  color: #d5dbff;
  text-align: center;
  font-family: "Helvetica";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}

.parent-client-solutions-section {
  margin-top: 80px;
}

.case-studies-para-container {
  max-width: 900px;
}
.pcs-para {
  color: #1b1b1b;
  text-align: center;
  font-family: "Helvetica";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

/* Services Section */
.service-outer {
  padding-left: 10%;
  padding-right: 10%;
}

.services-section {
  background: #ffffff;
  padding: 40px 0 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 60px;
}

.service-card {
  background: #ffffff;
  padding: 30px;
  text-align: left;
  transition: all 0.3s ease;
  border-radius: 22px;
  border: 1px solid #e5e5e5;
  background: #fff;
  box-shadow: 0px 2px 0px 0px #238eb5;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(35, 142, 181, 0.4);
  border-color: #d1d5db;
  border-bottom-color: #238eb5;
}

.service-card-title {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: #1f2937;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  background: #111827;
  transform: scale(1.05);
}

.service-card h3 {
  color: #3d3d3d;
  font-family: "Helvetica";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
}

.service-card p {
  color: #3d3d3d;
  font-family: "Helvetica";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

/* Additional Products Section */
.additional-products {
  margin-bottom: 40px;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.view-clients-btn {
  text-align: center;
  margin-top: 40px;
}

.view-clients-btn button {
  background: #ffffff;
  border: 2px solid #1f2937;
  color: #1f2937;
  padding: 16px 32px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #1f2937 !important;
}

.view-clients-btn button::after {
  content: "→";
  font-size: 1.125rem;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.view-clients-btn button:hover {
  background: #1f2937;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.3);
}

.view-clients-btn button:hover::after {
  transform: translateX(4px);
}

/* Success Stories Section */
.success-stories {
  background: linear-gradient(180deg, #112040 8.47%, #adeee7 175.9%);
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}

.success-stories h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-family: "Inter", sans-serif;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #9ca3af;
  margin-bottom: 80px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
}

.stories-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.story-card {
}

.story-card:nth-child(even) {
  direction: rtl;
}

.story-card:nth-child(even) .story-content {
  direction: ltr;
}

.story-content h3 {
  color: #fff;
  font-family: "Helvetica";
  font-size: 71px;
  font-style: normal;
  font-weight: 500;
  line-height: 50px;
  position: relative;
  z-index: 5;
}

.story-content h4 {
  color: #fff;
  font-family: "Helvetica";
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 50px;
}

.story-content p {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}
.story-content p span svg {
  margin-bottom: 12px;
  margin-right: 4px;
}

.deliver-msg {
  color: #fff;
  font-family:  "Poppins", sans-serif;
  font-size: 26px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 30px !important;
}

.story-content ul {
  margin-left: 24px;
  color: #d1d5db;
}

.story-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Mockup Styles */
.story-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gleeds-mockup,
.atkins-mockup,
.aecom-mockup {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  min-height: 320px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
}

/* Dashboard Images */
.gleeds-dashboard-image,
.ics-dashboard-image,
.aecom-dashboard-image {
  width: auto;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  min-height: 500px;
  position: relative;
  z-index: 2;
}

.mockup-header {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 24px;
}

/* Legacy Mockup Styles (kept for fallback) */
.mockup-cards {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.mockup-card {
  flex: 1;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
}

.mockup-card.blue {
  background: #3b82f6;
}

.mockup-card.orange {
  background: #f59e0b;
}

.mockup-card.green {
  background: #10b981;
}

.card-header {
  font-size: 0.875rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

.card-content {
  font-weight: 700;
  font-size: 1.125rem;
}

.mockup-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  background: #f3f4f6;
  padding: 12px 16px;
  border-radius: 8px;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
}

.dashboard-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.widget {
  background: #f3f4f6;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  color: #374151;
  font-weight: 600;
  font-size: 0.875rem;
}

.bullet_content {
  position: relative;
  bottom: 5px;
  left: 5px;
}

.gleeds-bg-pattern {
  position: absolute;
  right: 0px;
  top: -10%;
}
.atkins-bg-pattern {
  position: absolute;
  top: 30%;
  left: 0px;
}
.aecom-bg-pattern {
  position: absolute;
  right: 0px;
  bottom: 2%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .story-card {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-section h1 {
    font-size: 2.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .story-card {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .story-card:nth-child(even) {
    direction: ltr;
  }

  .mockup-cards {
    flex-direction: column;
    gap: 8px;
  }

  .control-panels {
    gap: 12px;
  }

  .dashboard-widgets {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .header-section {
    padding: 60px 0 40px;
  }

  .header-section h1 {
    font-size: 1.875rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .services-section {
    padding: 30px 0 60px;
  }

  .success-stories {
    padding: 80px 0;
  }

  .service-card {
    padding: 24px 20px;
    min-height: 240px;
  }

  .story-content h3 {
    font-size: 1.75rem;
  }

  .story-content h4 {
    font-size: 1.25rem;
  }
}
