/* Make entire service card clickable */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", sans-serif !important;
}

.service-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.service-item-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-5px);
}

.service-item-link:focus {
  outline: 2px solid #eb1b24;
  outline-offset: 4px;
}

/* Make the title text look like a link but inherit colors */
.service-item-link .service-title-text {
  color: #fff;
  transition: color 0.3s ease;
}

.service-item-link:hover .service-title-text {
  color: #fff;
}

/* Style the button inside the link */
.service-item-link .btn {
  pointer-events: none; /* Prevent button from intercepting clicks */
  cursor: pointer; /* But show it's clickable */
}

/* Ensure the entire card shows pointer cursor */
.service-item-link .service-item {
  cursor: pointer;
}

.services .service-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  z-index: 1;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.12);
}

.services .service-item::after {
  content: "";
  width: 100%;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
  z-index: 2;
}

.services .service-item:hover:after {
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.services .service-tytle i:before {
  color: #fff !important;
}

.services .service-content i:before {
  color: #fff !important;
}

.services .service-item .service-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: 0.5s;
}

.services .service-item:hover .service-img img {
  transform: scale(1.1);
}

.services .service-item .service-content {
  position: absolute;
  width: 100%;
  height: auto;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: 0.5s;
  opacity: 0;
  z-index: 3;
}

.services .service-item .service-tytle {
  position: absolute;
  width: 100%;
  height: 80px;
  bottom: 0;
  right: 0;
  color: #001248;
  background: #f7f9fb;
  display: flex;
  transition: 0.5s;
  z-index: 3;
}

.services .service-item:hover .service-tytle {
  margin-right: -100%;
}

.service-single-main {
  max-width: var(--content-width);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

.services .bg-secondary {
  background: #eb1b24 !important;
}

.services .btn-secondary {
  background: #eb1b24 !important;
  color: #fff !important;
}

.services .service-content a {
  color: #fff !important;
  text-decoration: none !important;
}

.services .service-item:hover .service-content {
  opacity: 1;
}

/* ========================================
    GUTENBERG CONTENT STYLING
    ======================================== */
.project-gutenberg-content {
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
}

.project-gutenberg-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0d263b;
  margin: 40px 0 20px;
  line-height: 1.3;
  position: relative;
  padding-left: 20px;
}

.project-gutenberg-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 28px;
  background: linear-gradient(180deg, #ffb923, #7a7879);
  border-radius: 3px;
}

.project-gutenberg-content h3 {
  font-size: 26px;
  font-weight: 600;
  color: #1e293b;
  margin: 32px 0 16px;
  line-height: 1.4;
}

.project-gutenberg-content h4 {
  font-size: 22px;
  font-weight: 600;
  color: #334155;
  margin: 28px 0 14px;
}

.project-gutenberg-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.project-gutenberg-content ul,
.project-gutenberg-content ol {
  margin: 24px 0;
  padding-left: 32px;
}

.project-gutenberg-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.project-gutenberg-content ul li {
  position: relative;
  list-style: none;
  padding-left: 8px;
}

.project-gutenberg-content ul li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 12px;
  width: 8px;
  height: 8px;
  background: #ffb923;
  border-radius: 50%;
}

.project-gutenberg-content a {
  color: #ffb923;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.project-gutenberg-content a:hover {
  border-bottom-color: #ffb923;
}

.project-gutenberg-content blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background: #f1f5f9;
  border-left: 5px solid #ffb923;
  font-style: italic;
  color: #475569;
  border-radius: 0 8px 8px 0;
}

.project-gutenberg-content img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: 28px 0;
}

.project-gutenberg-content .wp-block-image {
  margin: 32px 0;
}

/* ========================================
      MODERN MASONRY GRID
      ======================================== */
.cpcpt-masonry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding: 10px 0;
}

.cpcpt-grid-item {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(13, 38, 59, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: #fff;
}

/* Dynamic Grid Patterns */
.cpcpt-grid-item-normal {
  grid-column: span 2;
  grid-row: span 2;
}

.cpcpt-grid-item-wide {
  grid-column: span 4;
  grid-row: span 2;
}

.cpcpt-grid-item-tall {
  grid-column: span 2;
  grid-row: span 3;
}

.cpcpt-grid-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 185, 35, 0.1),
    rgba(122, 120, 121, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.cpcpt-grid-item:hover::before {
  opacity: 1;
}

.cpcpt-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cpcpt-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(13, 38, 59, 0.16);
}

.cpcpt-grid-item:hover img {
  transform: scale(1.08);
}

/* Responsive Masonry */
@media (max-width: 900px) {
  .cpcpt-masonry-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .cpcpt-grid-item-normal {
    grid-column: span 2;
    grid-row: span 2;
  }

  .cpcpt-grid-item-wide {
    grid-column: span 4;
    grid-row: span 2;
  }

  .cpcpt-grid-item-tall {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 560px) {
  .cpcpt-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cpcpt-grid-item-normal,
  .cpcpt-grid-item-wide,
  .cpcpt-grid-item-tall {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* ========================================
      SECTION STYLING
      ======================================== */
.section-title {
  position: relative;
  padding-bottom: 16px;
}

.project-services-section {
  border-top: 1px solid #e2e8f0;
}

.project-cta-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Hero Header with Featured Image Background */
.project-hero-header {
  position: relative;
  width: 100%;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 40px 20px;
}

.project-hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

.project-hero-excerpt {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  margin: 0 auto;
}

.project-hero-excerpt p {
  margin: 0;
}

/* Responsive Hero */
@media (max-width: 900px) {
  .project-hero-header {
    min-height: 400px;
  }

  .project-hero-title {
    font-size: 42px;
  }

  .project-hero-excerpt {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .project-hero-header {
    min-height: 350px;
  }

  .project-hero-title {
    font-size: 32px;
  }

  .project-hero-excerpt {
    font-size: 16px;
  }

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

/* ========================================
      SECTIONS
      ======================================== */
.project-single-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0d263b;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.project-services-section {
  padding: 80px 0;
  background: white;
}

.project-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.project-key-items-title {
  font-size: 28px;
  font-weight: 700;
  color: #0d263b;
  margin: 0 0 24px;
  line-height: 1.3;
  position: relative;
  padding-left: 20px;
}

.project-key-items-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 28px;
  background: linear-gradient(180deg, #ffb923, #7a7879);
  border-radius: 3px;
}

/* ========================================
      RESPONSIVE DESIGN
      ======================================== */
@media (max-width: 900px) {
  .project-info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .gallery-slide {
    height: 350px;
  }

  .project-card {
    min-width: 280px;
  }

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

@media (max-width: 560px) {
  .project-single-container {
    padding: 0 16px;
  }

  .project-info-bar {
    padding: 20px;
  }

  .project-summary-content,
  .project-key-items {
    padding: 24px;
  }

  .gallery-slide {
    height: 250px;
  }

  .gallery-prev,
  .gallery-next,
  .projects-prev,
  .projects-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .project-card {
    min-width: 260px;
  }

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

/* ========================================
      MODERN LIGHTBOX - BRAND STYLED
      ======================================== */
.cpcpt-lightbox-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: lightboxFadeIn 0.4s ease forwards;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cpcpt-lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  animation: lightboxSlideIn 0.4s ease forwards;
}

@keyframes lightboxSlideIn {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}

.cpcpt-lightbox-inner img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  display: block;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cpcpt-lightbox-inner img.loaded {
  opacity: 1;
}

/* FIXED: Loading Animation */
.cpcpt-lightbox-inner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #0071bd;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: lightboxSpin 1s linear infinite;
  z-index: 5;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Hide loading spinner when image is loaded */
.cpcpt-lightbox-inner.loaded::before {
  opacity: 0;
  pointer-events: none;
}

@keyframes lightboxSpin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.cpcpt-lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #001248;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.cpcpt-lightbox-close:hover {
  background: #0071bd;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 113, 189, 0.3);
}

.cpcpt-lightbox-prev,
.cpcpt-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #001248;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.cpcpt-lightbox-prev::after,
.cpcpt-lightbox-next::after,
.cpcpt-lightbox-close::after {
  display: none; /* Hide if using HTML icons */
}

.cpcpt-lightbox-prev i,
.cpcpt-lightbox-next i,
.cpcpt-lightbox-close i {
  font-size: 20px;
}

.cpcpt-lightbox-prev {
  left: 20px;
}

.cpcpt-lightbox-next {
  right: 20px;
}

.cpcpt-lightbox-prev:hover,
.cpcpt-lightbox-next:hover {
  background: #0071bd;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 113, 189, 0.3);
}

.cpcpt-lightbox-counter {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #001248;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(0, 113, 189, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive Lightbox */
@media (max-width: 768px) {
  .cpcpt-lightbox-inner {
    max-width: 95vw;
    max-height: 95vh;
    margin: 10px;
  }

  .cpcpt-lightbox-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .cpcpt-lightbox-prev,
  .cpcpt-lightbox-next {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .cpcpt-lightbox-prev {
    left: 15px;
  }

  .cpcpt-lightbox-next {
    right: 15px;
  }

  .cpcpt-lightbox-counter {
    bottom: 15px;
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .cpcpt-lightbox-overlay {
    padding: 10px;
  }

  .cpcpt-lightbox-inner {
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .cpcpt-lightbox-prev,
  .cpcpt-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .cpcpt-lightbox-prev {
    left: 10px;
  }

  .cpcpt-lightbox-next {
    right: 10px;
  }
}

/* ========================================
      SERVICE HERO SECTION
      ======================================== */
.service-hero-header {
  position: relative;
  width: 100%;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 40px 20px;
}

.service-hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

.service-hero-description {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  margin: 0 auto;
}

.service-hero-description p {
  margin: 0;
}

/* ========================================
      SERVICE OVERVIEW SECTION
      ======================================== */
.service-overview-section {
  margin: 80px auto;
  max-width: 1100px;
}

.service-overview-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-overview-main {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.service-overview-text {
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
}

.service-overview-text p {
  margin-bottom: 20px;
}

.service-overview-sidebar {
  background: #f8fafc;
  padding: 32px;
  border-radius: 12px;
  border-left: 4px solid #ffb923;
}

.sidebar-title {
  font-size: 24px;
  font-weight: 700;
  color: #0d263b;
  margin: 0 0 24px;
  position: relative;
  padding-left: 20px;
}

.sidebar-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #ffb923, #7a7879);
  border-radius: 2px;
}

.other-services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Updated Other Services Styling for Links */
.other-service-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
}

.other-service-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #ffb923;
  text-decoration: none;
  color: inherit;
}

.other-service-item:hover .other-service-title {
  color: #ffb923;
}

.other-service-item:focus {
  outline: 2px solid #ffb923;
  outline-offset: 2px;
}

.other-service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.other-service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.other-service-item:hover .other-service-icon img {
  transform: scale(1.1);
}

.other-service-title {
  font-size: 16px;
  font-weight: 600;
  color: #0d263b;
  margin: 0;
  transition: color 0.3s ease;
}

/* Ensure no text decoration on links */
.other-service-item,
.other-service-item:hover,
.other-service-item:visited,
.other-service-item:active {
  text-decoration: none;
  color: inherit;
}

/* ========================================
      SERVICE BENEFITS SECTION
      ======================================== */
.service-benefits-section {
  background: #f8fafc;
  padding: 80px 0;
  margin: 60px 0;
}

.service-benefits-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-benefits-title {
  font-size: 36px;
  font-weight: 700;
  color: #0d263b;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.service-benefits-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -16px;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #eb1b24, #0071bd);
  border-radius: 2px;
}

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

.service-benefit-card {
  background: white;
  padding: 48px 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  margin-bottom: 20px;
}

.benefit-icon-symbol {
  font-size: 48px;
  display: block;
}

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

.benefit-description {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
      FEATURED PROJECTS SECTION
      ======================================== */
.featured-project-card-link {
  text-decoration: none !important;
}

.featured-projects-container {
  width: 100%;
}

.featured-projects-title {
  font-size: 36px;
  font-weight: 700;
  color: #001248;
  margin-bottom: 60px;
  text-align: center;
  position: relative;
}

.featured-projects-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -16px;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffb923, #7a7879);
  border-radius: 2px;
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.featured-project-card {
  padding: 40px;
  background: white;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  gap: 40px;
  height: 300px;
}

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

.featured-project-image {
  width: 40%;
  min-width: 250px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.featured-project-card:hover .featured-project-title {
  color: #0071bd;
}

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

.featured-project-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
}

.featured-project-link {
  color: var(--e-global-color-846c90a);
  font-size: 14px;
  transition: color 0.3s ease;
  width: fit-content;
  margin-top: auto;
  border-bottom-color: #0071bd;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  font-weight: 600;
  padding-top: 0.25em;
  padding-right: 0;
  padding-bottom: 0.25em;
  text-decoration: none;
}

.featured-project-category {
  display: inline-block;
  background: linear-gradient(135deg, #005a9a 0%, #0071bd 50%, #0093e836 100%);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 8px;
}

.featured-project-title {
  font-size: 24px;
  font-weight: 700;
  color: #001248;
  margin: 0;
  line-height: 1.3;
}

.featured-project-description {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  margin: 0;
  flex: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .featured-projects-grid {
    gap: 24px;
  }

  .featured-project-card {
    min-height: 220px;
  }

  .featured-project-content {
    padding: 24px;
  }

  .featured-project-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .featured-projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .featured-project-card {
    flex-direction: column;
    min-height: auto;
  }

  .featured-project-image {
    width: 100%;
    min-width: auto;
    height: 250px;
  }

  .featured-projects-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

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

@media (max-width: 480px) {
  .featured-projects-section {
    padding: 30px 15px;
  }

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

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

  .featured-project-description {
    font-size: 14px;
  }
}

/* ========================================
      SERVICE CTA SECTION
      ======================================== */
.service-cta-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 80px 0;
}

.service-cta-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-cta-section {
  background: linear-gradient(135deg, #ffb923, #e6a520);
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  color: white;
  box-shadow: 0 8px 24px rgba(255, 185, 35, 0.3);
}

.services-cta-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px;
  color: white;
}

.services-cta-description {
  font-size: 18px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-cta-button {
  background: white;
  color: #ffb923;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.services-cta-button:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ========================================
      RESPONSIVE DESIGN
      ======================================== */
@media (max-width: 900px) {
  .service-overview-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .service-hero-title {
    font-size: 42px;
  }

  .service-hero-description {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .service-benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .service-hero-title {
    font-size: 32px;
  }

  .service-hero-description {
    font-size: 16px;
  }

  .service-overview-main,
  .service-overview-sidebar {
    padding: 24px;
  }

  .service-benefit-card {
    padding: 24px;
  }

  .services-cta-section {
    padding: 40px 24px;
  }

  .services-cta-title {
    font-size: 28px;
  }

  .services-cta-description {
    font-size: 16px;
  }
}

/* Updated Benefit Icon Styling for FontAwesome */
.benefit-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefit-icon i {
  font-size: 48px;
  color: #0071bd;
  transition: all 0.3s ease;
}

.service-benefit-card:hover .benefit-icon i {
  color: #0071bd;
  transform: scale(1.1);
}

/* Admin styling for benefit items */
.service-benefits-wrapper {
  max-width: 100%;
}

.benefit-item {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  border-color: #ffb923;
  box-shadow: 0 2px 8px rgba(255, 185, 35, 0.1);
}

.benefit-item h4 {
  color: #0d263b;
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 2px solid #ffb923;
  padding-bottom: 8px;
}

.benefit-item .form-table th {
  width: 120px;
  padding: 10px 0;
}

.benefit-item .form-table td {
  padding: 10px 0;
}

.benefit-item input[type="text"] {
  width: 100%;
  max-width: 400px;
}

.benefit-item textarea {
  width: 100%;
  max-width: 500px;
}

.benefit-item select {
  width: 100%;
  max-width: 400px;
}

/* ========================================
      SYSTEM BREAKDOWN ACCORDION
      ======================================== */
.system-breakdown-section {
  margin: 80px auto;
  max-width: 1100px;
  padding: 0 20px;
}

.accordion {
  max-width: 100%;
}

.accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  background: #f8fafc;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #0d263b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  outline: none; /* Remove default outline */
  user-select: none; /* Prevent text selection */
}

.accordion-header:hover {
  background: #ffb923;
  color: white;
}

.accordion-header:focus {
  outline: 2px solid #ffb923;
  outline-offset: 2px;
}

.accordion-header:focus-visible {
  outline: 2px solid #ffb923;
  outline-offset: 2px;
}

/* Ensure the span doesn't inherit any button styles */
.accordion-header {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #f8fafc;
  border: none;
  margin: 0;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: none;
  border-radius: 0;
}

.accordion-icon {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #ffb923;
}

.accordion-header:hover .accordion-icon {
  color: white;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-item.active .accordion-header {
  background: #ffb923;
  color: white;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.accordion-item.active .accordion-content {
  max-height: 1000px; /* Adjust based on content */
}

.accordion-content ul {
  margin: 0;
  padding: 24px;
  list-style: none;
}

.accordion-content li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  position: relative;
  padding-left: 20px;
}

.accordion-content li:last-child {
  border-bottom: none;
}

.accordion-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffb923;
  font-weight: bold;
  font-size: 18px;
}

.accordion-content li strong {
  color: #0d263b;
  font-weight: 600;
}

.accordion-content li em {
  color: #ffb923;
  font-style: italic;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .accordion-header {
    padding: 16px 20px;
    font-size: 16px;
  }

  .accordion-content ul {
    padding: 20px;
  }

  .accordion-content li {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .accordion-header {
    padding: 14px 16px;
    font-size: 15px;
  }

  .accordion-content ul {
    padding: 16px;
  }
}

/* Client Logo Styling */
.info-value-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-logo {
  max-width: 60px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .info-value-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .client-logo {
    max-width: 80px;
  }
}
