/* =====================================================
   PROJECTS PAGE – EXECUTION CAPABILITY
   ===================================================== */

/* Hero Section – Diagonal Authority with Background */
body[data-page="projects"] .hero {
  position: relative;
  min-height: 820px;
  padding: 12rem 0 8rem;
  background: linear-gradient(rgba(14, 59, 95, 0.303),
      rgba(14, 59, 95, 0.247)), url('../assets/images/background/heavy-logistics-infrastructure.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  margin-bottom: 0;
}

body[data-page="projects"] .hero::before {
  display: none;
}

body[data-page="projects"] .hero-content {
  text-align: left;
  max-width: 900px;
}

body[data-page="projects"] .hero h1 {
  font-size: clamp(2.75rem, 4.5vw, 4rem);
  color: white;
  margin-bottom: 2rem;
  line-height: 1.1;
  position: relative;
  padding-bottom: 1.5rem;
}

body[data-page="projects"] .hero h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: var(--gold);
}

body[data-page="projects"] .hero p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
  max-width: 780px;
  margin: 0;
}

/* Integrated Project Logistics – Redesigned */
.section-integrated {
  background: #ffffff;
  padding: 6rem 0;
}

.section-integrated .container {
  max-width: 1280px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.integrated-text h2 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.integrated-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.integrated-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}

.integrated-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}

.image-wrapper-clean {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

}

.image-wrapper-clean img {
  width: 100%;
  display: block;
}

.btn-text-gold {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  display: inline-block;
  margin-top: 1rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.btn-text-gold:hover {
  border-bottom-color: var(--gold);
}

@media (max-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* Core Capabilities – Diagonal Transition Section */
.section-capabilities {
  position: relative;
  background: #f0f4f8;
  padding: 7rem 0 5rem;
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  margin-top: -6rem;
}

.capability-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 6rem;
}

.capability-block:last-child {
  margin-bottom: 0;
}

/* Premium Enterprise Image Treatment */
.project-image {
  position: relative;
  width: 90%;
  margin: 0 auto;
  padding: 1.5rem;
  z-index: 1;
}

/* Gold Outline Frame Behind */
.project-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  height: 85%;
  border: 3px solid var(--gold);
  opacity: 0.5;
  z-index: -1;
  transform: translate(-12px, -12px);
}

/* Decorative Curved Line Pattern */
.project-image::after {
  content: "";
  position: absolute;
  bottom: 0%;
  right: -5%;
  width: 120px;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='200' viewBox='0 0 120 200' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10C40 50 40 150 10 190M30 15C60 55 60 145 30 185M50 20C80 60 80 140 50 180' stroke='white' stroke-opacity='0.15' stroke-width='1'/%3E%3Cpath d='M70 25C100 65 100 135 70 175M90 30C120 70 120 130 90 170' stroke='%23d4af37' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 15px 15px 35px rgba(0, 0, 0, 0.2);
  border: none;
  transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 2;
  animation: projectImageFade 1s ease-out;
}

.project-image:hover img {
  transform: perspective(1000px) rotateY(-1deg) rotateX(0.5deg) scale(1.02);
}

@keyframes projectImageFade {
  from {
    opacity: 0;
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) translateY(10px);
  }

  to {
    opacity: 1;
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) translateY(0);
  }
}

/* Alignment Adjustments */
.capability-block .project-image {
  margin-right: 0;
  margin-left: auto;
}

.capability-block:nth-child(even) .project-image {
  margin-left: 0;
  margin-right: auto;
}

.capability-text {
  z-index: 5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .project-image {
    width: 100%;
    padding: 1rem;
  }

  .project-image img {
    transform: none;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15);
  }

  .project-image::before {
    transform: translate(-8px, -8px);
  }

  .capability-block {
    margin-bottom: 4rem;
  }
}

.capability-text h3 {
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.capability-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.capability-text p:last-child {
  margin-bottom: 0;
}

.capability-text ul {
  list-style: none;
  margin-top: 1.5rem;
}

.capability-text ul li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.capability-text ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.3rem;
}

/* Project Execution Framework – Modern Connected Design */
.section-process {
  background: #ffffff;
  padding: 6rem 0;
  position: relative;
}

.section-process h2 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.process-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

/* Horizontal Line Connector */
.process-grid-v2::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(185, 28, 28, 0.2) 15%,
      rgba(185, 28, 28, 0.2) 85%,
      transparent 100%);
  z-index: 1;
}

.process-step-v2 {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.step-number-v2 {
  width: 90px;
  height: 90px;
  background: #ffffff;
  border: 1px solid rgba(185, 28, 28, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.process-step-v2:hover .step-number-v2 {
  background: var(--gold);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(185, 28, 28, 0.2);
  border-color: var(--gold);
}

.step-number-v2::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(185, 28, 28, 0.1);
  transition: all 0.4s ease;
}

.process-step-v2:hover .step-number-v2::after {
  inset: -10px;
  opacity: 0;
}

.process-step-v2 h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.process-step-v2 p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 32ch;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .process-grid-v2::before {
    display: none;
  }

  .process-grid-v2 {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .section-process {
    padding: 7rem 0;
  }
}

/* Industries Served – Premium Enterprise Design */
/* Industries Served – Clean & User Friendly */
.section-industries {
  padding: 8rem 0;
  background: var(--bg-light-tint);
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.section-industries h2 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 2rem;
}

.section-industries>.container>p {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 70ch;
  margin-bottom: 4rem;
  line-height: 1.7;
}

.industries-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.industry-card-v2 {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.industry-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(185, 28, 28, 0.1);
}

.industry-card-icon-v2 {
  width: 56px;
  height: 56px;
  background: #f8fafc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
  transition: all 0.3s ease;
}

.industry-card-v2:hover .industry-card-icon-v2 {
  background: var(--gold);
  color: #fff;
}

.industry-card-v2 h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 600;
}

.industry-card-v2 p {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .industries-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .industries-grid-v2 {
    grid-template-columns: 1fr;
  }

  .section-industries {
    padding: 7rem 0;
  }
}


/* CTA styles handled in style.css */


/* Responsive Design */
@media (max-width: 1100px) {
  .capability-block {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  body[data-page="projects"] .hero {
    padding: 14rem 0 10rem;
    min-height: 440px;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }

  body[data-page="projects"] .hero h1::after {
    width: 80px;
    height: 3px;
  }

  .section-integrated,
  .section-capabilities,
  .section-process,
  .section-industries {
    padding: 5rem 0;
  }

  .section-capabilities {
    clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
    margin-top: -3rem;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-item {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .section-industries h2 {
    font-size: 1.75rem;
  }

  .section-industries>.container>p {
    font-size: 1rem;
  }
}