/* Partner Page Custom Stylesheet */

.partners-section {
  background: transparent !important;
  padding: 40px 20px 60px 20px;
  max-width: 1300px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Hero Section */
.partners-hero {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-badge {
  background: rgba(91, 91, 147, 0.08);
  border: 1px solid rgba(91, 91, 147, 0.2);
  color: #5b5b93;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  animation: pulseBadge 3s infinite ease-in-out;
}

.partners-hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #2c3e50 0%, #5b5b93 50%, #3b3b6b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 5s linear infinite;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.partners-hero p {
  font-size: 1.05rem;
  color: #5d6a7e;
  max-width: 700px;
  margin: 0;
  line-height: 1.6;
}

/* Grid Layout */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* Partner Cards styling */
.partner-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(91, 91, 147, 0.04), 0 5px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(91, 91, 147, 0.12), 0 10px 20px rgba(0, 0, 0, 0.03);
  border-color: rgba(91, 91, 147, 0.25);
  background: rgba(255, 255, 255, 0.85);
}

/* Card Glow Header decoration */
.card-border-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #5b5b93, #a2a2d0, #5b5b93);
  background-size: 200% auto;
}

.card-border-glow.animate-glow {
  background: linear-gradient(90deg, #ff7e5f, #feb47b, #86a8e7, #91eae4, #ff7e5f);
  background-size: 300% 300%;
  animation: borderGradient 8s ease infinite;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.partner-icon {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background: rgba(91, 91, 147, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b5b93;
  font-size: 22px;
  transition: all 0.3s ease;
  overflow: hidden;
  margin: 0;
}

.partner-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

/* .partner-card:hover .partner-icon {
  background: #5b5b93;
  color: #ffffff;
  transform: scale(1.05) rotate(5deg);
} */

.partner-type {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #5b5b93;
  padding: 4px 10px;
  border-radius: 8px;
}

.partner-type.status-badge {
  background: rgba(91, 91, 147, 0.08);
  border: 1px solid rgba(91, 91, 147, 0.15);
}

.partner-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #232062;
  margin: 0;
  letter-spacing: -0.5px;
  font-family: 'Outfit', 'Inter', sans-serif;
  display: block;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-name {
  transform: scale(1.02);
}

.partner-desc {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.partner-desc p h1,
.partner-desc h1 {
  display: inline;
  font-size: 1rem;
  font-weight: 800;
  color: #5b5b93;
}

.partner-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
  border-top: 1px dashed rgba(91, 91, 147, 0.15);
  padding-top: 15px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.4;
  transition: transform 0.2s ease;
}

.partner-card:hover .highlight-item {
  transform: translateX(4px);
}

.highlight-item i {
  color: #2ecc71;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Razorpay Integration badge inside Glaum Veda card */
.integration-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(91, 91, 147, 0.04);
  border: 1px dashed rgba(91, 91, 147, 0.15);
  border-radius: 14px;
  padding: 12px 18px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.integration-logo img {
  height: 22px;
  max-width: 100%;
  object-fit: contain;
}

.integration-logo span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #5b5b93;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.partner-card:hover .integration-logo {
  background: rgba(91, 91, 147, 0.08);
  border-style: solid;
  border-color: rgba(91, 91, 147, 0.25);
}

/* Product Spotlight Section */
.product-spotlight {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 35px;
  box-shadow: 0 20px 50px rgba(91, 91, 147, 0.04);
  display: flex;
  flex-direction: column;
  gap: 30px;
  box-sizing: border-box;
}

.spotlight-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spotlight-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ff7e5f;
  background: rgba(255, 126, 95, 0.1);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  display: inline-block;
}

/* slide */
.spotlight-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #2c3e50;
  margin: 0;
}

.spotlight-header .subtitle {
  font-size: 1rem;
  color: #5b5b93;
  margin: 8px 0 0 0;
  font-weight: 500;
}

.spotlight-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.spotlight-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.spotlight-text p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-box {
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(91, 91, 147, 0.05);
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(91, 91, 147, 0.02);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.feature-box:hover {
  transform: translateX(6px);
  border-color: rgba(91, 91, 147, 0.2);
  box-shadow: 0 12px 24px rgba(91, 91, 147, 0.06);
}

.feature-icon {
  font-size: 20px;
  color: #5b5b93;
  background: rgba(91, 91, 147, 0.08);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
  background: #5b5b93;
  color: #ffffff;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.feature-info p {
  font-size: 0.85rem;
  color: #5d6a7e;
  margin: 0;
  line-height: 1.5;
}

/* Animations */
@keyframes pulseBadge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(91, 91, 147, 0.2);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(91, 91, 147, 0);
  }
}

@keyframes shineText {
  to {
    background-position: 200% center;
  }
}

@keyframes borderGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .spotlight-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 40px 15px 60px 15px;
  }

  .partners-hero h1 {
    font-size: 2.2rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .partner-card {
    padding: 30px;
  }

  .product-spotlight {
    padding: 30px;
    border-radius: 24px;
    gap: 30px;
  }

  .spotlight-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .partners-hero h1 {
    font-size: 1.8rem;
  }

  .partner-icon {
    width: 64px;
    height: 64px;
    border-radius: 10px;
  }

  .integration-logo span {
    font-size: 0.63rem;
  }

  .partner-icon img {
    border-radius: 10px;
  }

  .partner-name {
    font-size: 1.8rem;
  }

  .partner-card {
    padding: 20px;
    border-radius: 20px;
  }

  .product-spotlight {
    padding: 20px;
    border-radius: 20px;
  }
}