/* ==========================================================================
   AZETech Infra — Our JV Partners Page Dedicated Stylesheet
   Pixel-accurate reproduction of Azetech Infra JV Partners Showcase(1).png
   Content source: New 2 - Azetechinfra Presentation.pdf (Pages 21, 22, 23)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL CONTAINER & SHARED TYPOGRAPHY
   -------------------------------------------------------------------------- */
:root {
  --jv-red: #B5121B;
  --jv-red-light: #E50914;
  --jv-dark: #111827;
  --jv-text: #374151;
  --jv-muted: #6B7280;
  --jv-border: #E5E7EB;
  --jv-bg-light: #F8FAFC;
}

.jv-container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 768px) {
  .jv-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Eyebrows & Headings */
.jv-section-eyebrow {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--jv-red);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.jv-section-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--jv-dark);
  letter-spacing: -0.025em;
  margin: 0 0 0.85rem;
}

.jv-section-title .highlight-red {
  color: var(--jv-red);
}

.jv-title-underline {
  width: 46px;
  height: 3px;
  background-color: var(--jv-red);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   2. SECTION A: OUR JV PARTNERS HERO & TABLE
   -------------------------------------------------------------------------- */
.jv-hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  background-color: #FFFFFF;
  overflow: hidden;
  background-image: radial-gradient(circle at 85% 25%, rgba(181, 18, 27, 0.02) 0%, transparent 60%);
}

/* Faint subtle blueprint line art decoration in background */
.jv-hero-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 2%;
  width: 600px;
  height: 600px;
  background-image: url('../images/jv/jv-blueprint-bg.png');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.045;
  pointer-events: none;
  z-index: 1;
}

.jv-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 4rem;
  align-items: center;
}

.jv-hero-content {
  max-width: 640px;
}

.jv-hero-lead {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #000000;
  margin-bottom: 2rem;
  text-align: justify;
}

/* Strategic JV Partners & Specializations Table */
.jv-table-wrapper {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  background: #FFFFFF;
  margin-top: 1rem;
}

.jv-table-title-bar {
  background-color: var(--jv-red);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.7rem 1.25rem;
  letter-spacing: 0.01em;
}

.jv-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.jv-partners-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.jv-partners-table thead th {
  background-color: #F8FAFC;
  color: #111827;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  font-style: italic;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid #E5E7EB;
  letter-spacing: 0.01em;
}

.jv-partners-table tbody tr {
  border-bottom: 1px solid #F1F5F9;
  transition: background-color 0.15s ease;
}

.jv-partners-table tbody tr:last-child {
  border-bottom: none;
}

.jv-partners-table tbody tr:hover {
  background-color: #FBFDFE;
}

.jv-partners-table tbody td {
  padding: 0.625rem 1.25rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #000000;
}

.jv-partners-table tbody td.partner-name {
  font-weight: 600;
  color: #111827;
  width: 44%;
}

.jv-partners-table tbody td.partner-spec {
  color: #000000;
  font-weight: 500;
}

/* Hero Right Visual: Handshake with Red Angular Polygon Overlay */
.jv-hero-visual-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
}

.jv-hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Signature Red Geometric Angular Overlay in Top Right */
.jv-hero-red-facet {
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 150px;
  background: linear-gradient(145deg, #B5121B 0%, #8F0B12 100%);
  clip-path: polygon(38% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 3;
  box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   3. SECTION B: COMPANY STRENGTHS (6 PROFILES + COMMERCIAL BUILDING)
   -------------------------------------------------------------------------- */
.jv-strengths-section {
  position: relative;
  padding: 5rem 0 5.5rem;
  background-color: var(--jv-bg-light);
  border-top: 1px solid #ECEEF2;
  border-bottom: 1px solid #ECEEF2;
}

.jv-strengths-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: stretch;
}

.jv-strengths-left {
  display: flex;
  flex-direction: column;
}

/* 6 Profiles Grid (2 columns x 3 rows) */
.jv-profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 2.5rem;
  margin-top: 1rem;
}

.jv-profile-item {
  position: relative;
  padding-left: 1.15rem;
  border-left: 3.5px solid var(--jv-red);
}

.jv-profile-name {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #111827;
  letter-spacing: 0.03em;
  margin: 0 0 0.3rem;
}

.jv-profile-spec {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.5rem;
}

.jv-profile-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #000000;
  margin: 0;
  text-align: justify;
}

/* Strengths Right: Tall Building Photo */
.jv-strengths-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  height: 100%;
  min-height: 480px;
}

.jv-strengths-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 18px;
}

/* --------------------------------------------------------------------------
   4. SECTION C: INTEGRATED PARTNERSHIP CAPABILITY
   -------------------------------------------------------------------------- */
.jv-capability-section {
  position: relative;
  padding: 5rem 0 5.5rem;
  background-color: #FFFFFF;
}

.jv-capability-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.jv-capability-content {
  max-width: 640px;
}

.jv-capability-intro {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.5;
  margin: 0 0 0.85rem;
}

.jv-capability-services-badge {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

.jv-capability-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #000000;
  margin-bottom: 1.75rem;
  text-align: justify;
}

.jv-commitment-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.85rem;
}

.jv-commitment-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #000000;
  margin-bottom: 0.85rem;
  text-align: justify;
}

.jv-final-quote {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  color: #111827;
  margin-top: 1.75rem;
  margin-bottom: 0;
  padding: 0;
  border: none;
  font-style: normal;
}

/* Capability Right Visual: Engineers Collaborating Photo */
.jv-capability-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.08);
}

.jv-capability-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 22px;
}

/* --------------------------------------------------------------------------
   5. SECTION D: PREMIUM CTA BANNER OVERRIDES
   -------------------------------------------------------------------------- */
.cta-banner-section {
  position: relative;
  background-color: #071D33;
  overflow: hidden;
}

.cta-banner-bg-wrapper {
  position: relative;
  width: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
}

.cta-banner-bg-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.cta-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(4, 12, 26, 0.95) 0%, rgba(4, 12, 26, 0.8) 60%, rgba(4, 12, 26, 0.5) 100%);
  z-index: 1;
}

.cta-banner-red-facet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38%;
  min-width: 240px;
  background: linear-gradient(135deg, #B5121B 0%, #8F0B12 100%);
  clip-path: polygon(28% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

.cta-banner-container {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.cta-banner-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.cta-banner-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.cta-banner-subtext {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 580px;
  margin: 0;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: #111827;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border-radius: 9999px;
  padding: 0.85rem 1.85rem;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  margin-right: 2rem;
}

.btn-cta-white:hover {
  background-color: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-cta-white svg {
  transition: transform 0.2s ease;
}

.btn-cta-white:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .jv-hero-grid {
    gap: 3rem;
  }
  .jv-strengths-layout {
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
  }
  .jv-capability-layout {
    gap: 3rem;
  }
}

@media (max-width: 991px) {
  .jv-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .jv-hero-content {
    max-width: 100%;
  }
  .jv-table-wrapper {
    max-width: 100%;
  }
  .jv-hero-img {
    height: 420px;
  }

  /* Strengths */
  .jv-strengths-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .jv-strengths-visual {
    height: 420px;
    min-height: auto;
    max-width: 600px;
  }

  /* Capability */
  .jv-capability-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .jv-capability-content {
    max-width: 100%;
  }
  .jv-capability-img {
    height: 380px;
    max-width: 600px;
  }

  /* CTA Banner */
  .cta-banner-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .btn-cta-white {
    margin-right: 0;
  }
  .cta-banner-red-facet {
    width: 50%;
  }
}

@media (max-width: 640px) {
  .jv-hero-section {
    padding: 3rem 0 3.5rem;
  }
  .jv-hero-img {
    height: 320px;
  }
  .jv-profiles-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .jv-strengths-section {
    padding: 3.5rem 0;
  }
  .jv-strengths-visual {
    height: 320px;
  }
  .jv-capability-section {
    padding: 3.5rem 0;
  }
  .jv-capability-img {
    height: 300px;
  }
  .cta-banner-red-facet {
    display: none;
  }
}
