/* ===== HERO SECTION ===== */
.pp-hero {
  position: relative;
  background: linear-gradient(135deg, #0d214f 0%, #0067da 100%);
  padding: 100px 0 60px;
  overflow: hidden;
  min-height: 400px;
}

.pp-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/partners/partners-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
  z-index: 1;
}

.pp-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.pp-bg-shape.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.pp-bg-shape.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: 5%;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.pp-hero-container {
  position: relative;
  z-index: 2;
  /* max-width, width, margin handled by .container */
  padding: 0;
}

.pp-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: slideInLeftPP 1s ease-out;
}

@keyframes slideInLeftPP {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.pp-hero-left {
  max-width: 600px;
}

.pp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;

  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pp-hero-left h1 {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.15;
}

.pp-hero-left p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  line-height: 1.8;
}

.pp-hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.pp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.pp-btn-primary {
  background: #fff;
  color: #0d214f;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.pp-btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.pp-btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.pp-btn-outline:hover {
  background: #fff;
  color: #0d214f;
  transform: translateY(-3px);
}

/* ===== HERO RIGHT - STAT BOXES ===== */
.pp-hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.pp-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.pp-stats-single {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.pp-stats-single .pp-stat-box {
  width: calc(50% - 10px) !important;
  flex: none !important;
}

.pp-stat-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.pp-stat-box:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pp-stat-box h3 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  margin-top: 5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pp-stat-box p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ===== ABOUT PARTNERS SECTION ===== */
.pp-about {
  padding: 80px 0;
  background: #f8f9fa;
}

.pp-section-title {
  text-align: center;
  margin-bottom: 60px;
}

.pp-badge {
  display: inline-block;
  background: linear-gradient(135deg, #29b9ed, #2563eb);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

.pp-section-title h2 {
  font-size: 40px;
  color: #0f172a;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.pp-section-title p {
  font-size: 18px;
  color: #475569;
  line-height: 1.8;
}

.pp-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pp-about-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.pp-about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0067da, #0d214f);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.pp-about-card:hover::before {
  transform: scaleX(1);
}

.pp-about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 103, 218, 0.15);
  border-color: #0067da;
}

.pp-about-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0067da, #0d214f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
  color: #fff;
}

.pp-about-card h3 {
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 15px;
  font-weight: 700;
}

.pp-about-card p {
  color: #475569;
  line-height: 1.8;
  font-size: 16px;
  margin: 0;
}

/* ===== PORTFOLIO SECTION ===== */
.pp-portfolio {
  padding: 80px 0;
  background: #fff;
}

.pp-portfolio-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pp-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pp-portfolio-card {
  background: #f8faff;
  padding: 35px;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.pp-portfolio-card:hover {
  border-color: #0067da;
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 103, 218, 0.15);
  background: #fff;
}

.pp-portfolio-header {
  margin-bottom: 25px;
}

.pp-portfolio-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0067da, #0d214f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
}

.pp-portfolio-card h3 {
  font-size: 22px;
  color: #0f172a;
  font-weight: 700;
  margin: 0;
}

.pp-portfolio-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.pp-stat-item {
  text-align: center;
}

.pp-stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #0067da;
  margin-bottom: 5px;
}

.pp-stat-label {
  display: block;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pp-portfolio-card p {
  color: #475569;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 20px;
}

.pp-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0067da;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pp-learn-more:hover {
  gap: 12px;
  color: #0d214f;
}

/* ===== BENEFITS SECTION ===== */
.pp-benefits {
  padding: 80px 0;
  background: #f8f9fa;
}

.pp-benefits-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pp-benefits-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 103, 218, 0.15);
}

.pp-benefits-right h2 {
  font-size: 40px;
  color: #0f172a;
  margin: 15px 0;
  font-weight: 700;
}

.pp-benefits-right p {
  font-size: 18px;
  color: #475569;
  margin-bottom: 30px;
  line-height: 1.8;
}

.pp-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pp-benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
}

.pp-benefits-list i {
  color: #0067da;
  font-size: 20px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 24px;
  margin-right: 12px;
}

.pp-benefits-list li span {
  flex: 1;
  display: block;
}

.pp-benefits-list strong {
  color: #0f172a;
}

/* ===== CTA SECTION ===== */
.pp-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d214f 0%, #0067da 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pp-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><circle cx="600" cy="100" r="300" fill="rgba(255,255,255,0.05)"/><circle cx="700" cy="400" r="200" fill="rgba(255,255,255,0.03)"/></svg>') no-repeat center;
  background-size: cover;
}

.pp-cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.pp-cta-content h2 {
  font-size: 42px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
}

.pp-cta-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.8;
}

.pp-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pp-cta-btn-white {
  display: inline-block;
  background: #fff;
  color: #0d214f;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.pp-cta-btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  color: #0d214f;
}

.pp-cta-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid #fff;
  text-decoration: none;
}

.pp-cta-btn-outline:hover {
  background: #fff;
  color: #0d214f;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .pp-hero {
    height: auto;
    padding: 160px 0 60px;
  }

  .pp-hero-left {
    text-align: left;
    max-width: 100%;
    margin-bottom: 50px;
  }

  .pp-hero-buttons {
    justify-content: flex-start;
  }

  .pp-hero-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pp-benefits-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pp-benefits-left {
    order: 2;
  }

  .pp-benefits-right {
    order: 1;
    text-align: center;
  }

  .pp-benefits-list {
    text-align: left;
    display: inline-block;
  }

  /* --- PARTNERS PORTFOLIO SYMMETRICAL PADDING V3 --- */
  /* Maximum specificity selector to override any potential conflicts on live server */
  .pp-hero .pp-hero-container .pp-hero-content .pp-hero-right {
    padding: 0 20px !important;
    /* Unified 20px gap on both sides */
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .pp-hero .pp-hero-container .pp-hero-content .pp-hero-right .pp-stats-row,
  .pp-hero .pp-hero-container .pp-hero-content .pp-hero-right .pp-stats-single {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: grid !important;
    gap: 15px !important;
  }

  .pp-hero .pp-hero-container .pp-hero-content .pp-hero-right .pp-stats-row {
    grid-template-columns: 1fr 1fr !important;
  }

  .pp-hero .pp-hero-container .pp-hero-content .pp-hero-right .pp-stats-single {
    grid-template-columns: 1fr !important;
    margin-top: 15px !important;
  }

  .pp-hero .pp-hero-container .pp-hero-content .pp-hero-right .pp-stat-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .pp-stat-box {
    padding: 20px 15px;
  }

  .pp-stat-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .pp-stat-box p {
    font-size: 13px;
  }

  .pp-hero-left h1 {
    font-size: 36px;
  }

  .pp-section-title h2,
  .pp-benefits-right h2,
  .pp-cta-content h2 {
    font-size: 32px;
  }

  .pp-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Ensure no margins or paddings cause overflow */
  .pp-stat-box {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
}