/* Project Archive Styling */
.project-archive-wrapper {
  padding: 40px 0 80px;
  background: #fff;
}

/* Top Section Gradient */
.project-archive-wrapper {
  position: relative;
  padding: 40px 0 80px;
  background: #fff;
}

.service-archive-wrapper {
  position: relative;
  padding: 40px 0 80px;
  background: #fff;
}

.archive-gradient-wrapper {
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    rgba(0, 113, 189, 0.7) 0%,
    rgba(255, 255, 255, 0.2) 100%
  );
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  opacity: 0.6;
  height: 100px;
}

.archive-gradient-overlay {
  background-image: url("https://the7.io/business-advisors/wp-content/uploads/sites/72/2022/10/blob-scene-wide-simple.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: overlay;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  pointer-events: none;
  z-index: 1;
  position: absolute;
}

/* Ensure content stays above gradient */
.breadcrumb-wrapper,
.projects-list-section,
.services-list-section {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}

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

/* Project Row Link - Makes entire card clickable */
.project-row-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-row-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Project Row */
.project-row {
  display: flex;
  gap: 60px;
  margin-bottom: 80px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.project-row-link:hover .project-row {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.project-row:last-child {
  margin-bottom: 40px;
}

/* Project Image */
.project-image {
  flex: 0 0 50%;
  position: relative;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Project Content */
.project-content {
  flex: 1;
  padding: 40px 40px 40px 20px;
}

.project-title {
  font-size: 32px;
  font-weight: 700;
  color: #0d263b;
  margin: 0 0 16px;
  line-height: 1.2;
}

.project-category {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 20px;
}

.project-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 24px;
}

.case-details-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #0071bd;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  pointer-events: none;
}

.project-row-link:hover .case-details-btn {
  background: #005a9a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 189, 0.3);
}

/* Hover Effects */
.project-row-link:hover .project-image img {
  transform: scale(1.05);
}

/* Pagination */
.navigation.pagination {
  margin-top: 40px;
  text-align: center;
}

.nav-links {
  display: inline-flex;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  color: #0d263b;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-numbers.current {
  background: #0071bd;
  color: white;
}

.page-numbers:hover:not(.current) {
  background: #e2e8f0;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* Section Subtitle */
.section-subtitle {
  font-size: 28px;
  font-weight: 700;
  color: #001248;
  margin: 0 0 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #0071bd;
}

/* Featured Projects Section */
.featured-projects-section {
  margin-bottom: 60px;
}

/* Regular Projects Section */
.regular-projects-section {
  margin-bottom: 40px;
}

/* Project Card Link */
.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  height: 100%;
}

.project-card-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Project Card */
.project-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.project-card-link:hover .project-card {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.project-card.featured {
  border: 2px solid #0071bd;
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #0071bd 0%, #001248 100%);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* Project Card Image */
.project-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f0f0f0;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-card-link:hover .project-card-image img {
  transform: scale(1.05);
}

.project-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-placeholder::before {
  content: "📷";
  font-size: 48px;
  opacity: 0.3;
}

/* Project Card Content */
.project-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #0d263b;
  margin: 0 0 12px;
  line-height: 1.3;
}

.project-card-category {
  font-size: 14px;
  color: #0071bd;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 20px;
  flex: 1;
}

.project-card-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #0071bd;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
  pointer-events: none;
  margin-top: auto;
}

.project-card-link:hover .project-card-btn {
  background: #005a9a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 189, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .project-row {
    gap: 40px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .section-subtitle {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .project-row {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
  }

  .project-image {
    flex: none;
    width: 100%;
    border-radius: 12px 12px 0 0;
  }

  .project-content {
    padding: 30px 20px;
  }

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

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-subtitle {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .project-card-content {
    padding: 20px;
  }

  .project-card-title {
    font-size: 20px;
  }
}

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

  .project-category {
    font-size: 16px;
  }

  .project-archive-wrapper {
    padding: 20px 0 60px;
  }

  .container {
    padding: 0 15px;
  }

  .projects-grid {
    gap: 25px;
  }

  .section-subtitle {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .project-card-title {
    font-size: 18px;
  }

  .project-card-excerpt {
    font-size: 14px;
  }
}

/* Service Archive Specific Styles */
.service-archive-wrapper {
  /* Inherits from project archive styles */
}

/* Service Row Link - Makes entire card clickable */
.service-row-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-row-link:hover {
  text-decoration: none;
  color: inherit;
}

.service-row {
  display: flex;
  gap: 60px;
  margin-bottom: 80px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.service-row-link:hover .service-row {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.service-row:last-child {
  margin-bottom: 40px;
}

.service-image {
  flex: 0 0 50%;
  position: relative;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  aspect-ratio: 15/10;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-content {
  flex: 1;
  padding: 30px 40px 30px 20px;
}

.service-title {
  font-size: 32px;
  font-weight: 700;
  color: #0d263b;
  margin: 0 0 16px;
  line-height: 1.2;
}

.service-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 24px;
}

/* System Breakdown Styles */
.service-system-breakdown {
  margin: 25px 0;
  padding: 20px;
  background: #f8fafc;
  border-radius: 6px;
  border-left: 4px solid #0071bd;
}

.system-breakdown-item {
  margin-bottom: 20px;
}

.system-breakdown-item:last-child {
  margin-bottom: 0;
}

.system-breakdown-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.system-breakdown-title {
  font-size: 18px;
  font-weight: 600;
  color: #001248;
  margin: 0 0 12px;
  list-style: none;
}

.system-breakdown-details {
  margin: 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.8;
}

.system-breakdown-details li {
  margin-bottom: 8px;
}

.system-breakdown-details li:last-child {
  margin-bottom: 0;
}

.service-details-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #0071bd;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 20px;
  pointer-events: none;
}

.service-row-link:hover .service-details-btn {
  background: #005a9a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 189, 0.3);
}

/* Hover Effects for Services */
.service-row-link:hover .service-image img {
  transform: scale(1.05);
}

/* Responsive for Services */
@media (max-width: 1024px) {
  .service-row {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .service-row {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
  }

  .service-image {
    flex: none;
    width: 100%;
    border-radius: 12px 12px 0 0;
  }

  .service-content {
    padding: 30px 20px;
  }

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

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

/* Archive Page Header - Shared with single service page */
.service-page-header {
  background: #f5f5f5;
  padding: 30px 0;
  margin-bottom: 0;
  border-bottom: 1px solid #e0e0e0;
}

.service-header-container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.service-page-title {
  font-size: 32px;
  font-weight: 700;
  color: #001248;
  margin: 0;
  line-height: 1.2;
}

.service-breadcrumb {
  display: flex;
  align-items: center;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #333333;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #333333;
  font-weight: 500;
}

.breadcrumb-separator {
  color: #999999;
  margin: 0 4px;
}

/* Responsive Header */
@media (max-width: 768px) {
  .service-header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .service-page-title {
    font-size: 28px;
  }
}

/* Expertise Archive Specific Styles */
.expertise-archive-wrapper {
  /* Inherits from project archive styles */
}

.expertise-list-section {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}

.expertise-row-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.expertise-row-link:hover {
  text-decoration: none;
  color: inherit;
}

.expertise-row {
  display: flex;
  gap: 60px;
  margin-bottom: 80px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.expertise-row-link:hover .expertise-row {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.expertise-row:last-child {
  margin-bottom: 40px;
}

.expertise-image {
  flex: 0 0 50%;
  position: relative;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.expertise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.expertise-content {
  flex: 1;
  padding: 30px 40px 30px 20px;
}

.expertise-title {
  font-size: 32px;
  font-weight: 700;
  color: #0d263b;
  margin: 0 0 16px;
  line-height: 1.2;
}

.expertise-brief-description {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 24px;
}

.expertise-brief-description p {
  margin: 0 0 12px;
}

.expertise-brief-description p:last-child {
  margin-bottom: 0;
}

.expertise-details-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #0071bd;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 20px;
  pointer-events: none;
}

.expertise-row-link:hover .expertise-details-btn {
  background: #005a9a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 189, 0.3);
}

/* Hover Effects for Expertise */
.expertise-row-link:hover .expertise-image img {
  transform: scale(1.05);
}

/* Responsive for Expertise */
@media (max-width: 1024px) {
  .expertise-row {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .expertise-row {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
  }

  .expertise-image {
    flex: none;
    width: 100%;
    border-radius: 12px 12px 0 0;
  }

  .expertise-content {
    padding: 30px 20px;
  }

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

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