/**
 * ITUNE International - Exact Gold Card Design
 * Matching the reference image perfectly
 */

/* ========================================
   GOLD CARDS SECTION
   ======================================== */
.gold-section {
  background: #ffffff;
  padding: 6rem 0;
}

.gold-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gold-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1e3a5f;
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gold-section .section-title {
  color: #1e3a5f;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.gold-section .section-title span {
  color: #3b82f6;
}

.gold-section .section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   GOLD CARD GRID - 4 columns (Our Impact)
   ======================================== */
.gold-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Centered 3+2 grid layout for services */
.gold-grid-center-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gold-grid-center-5 > .gold-card:nth-child(4) {
  grid-column: 1 / span 1;
  justify-self: end;
}

.gold-grid-center-5 > .gold-card:nth-child(5) {
  grid-column: 2 / span 1;
  justify-self: start;
}

@media (max-width: 1024px) {
  .gold-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gold-grid-center-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gold-grid-center-5 > .gold-card:nth-child(4),
  .gold-grid-center-5 > .gold-card:nth-child(5) {
    grid-column: auto;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .gold-grid {
    grid-template-columns: 1fr;
  }
  
  .gold-grid-center-5 {
    grid-template-columns: 1fr;
  }
  
  .gold-grid-center-5 > .gold-card:nth-child(4),
  .gold-grid-center-5 > .gold-card:nth-child(5) {
    grid-column: auto;
    justify-self: center;
  }
}

/* ========================================
   BLUE 3D CARD WITH GOLD OUTLINE
   ======================================== */
.gold-card {
  background: linear-gradient(145deg, #1e40af 0%, #1e3a8a 30%, #172554 70%, #0f172a 100%);
  border-radius: 20px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 
    0 8px 0 #c4a030,
    0 15px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 2px solid #d4af37;
}

.gold-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 12px 0 #c4a030,
    0 20px 30px rgba(0, 0, 0, 0.2);
}

/* White pill icon container */
.gold-icon-pill {
  background: #ffffff;
  border-radius: 50px;
  padding: 0.6rem 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gold-icon {
  font-size: 1.5rem;
  color: #1e3a5f;
  background: linear-gradient(145deg, #f9e8b0 0%, #f4d76a 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card title - white for contrast on blue */
.gold-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

/* Card description */
.gold-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Learn More link */
.gold-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f9e8b0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.3s ease;
}

.gold-link:hover {
  gap: 0.6rem;
  color: #ffffff;
}

.gold-link i {
  font-size: 0.75rem;
}

/* ========================================
   SERVICES GRID - 3 COLUMNS
   ======================================== */
.gold-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .gold-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gold-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   HCM TRAINING CARDS - 3 COLUMNS
   ======================================== */
.gold-training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .gold-training-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gold-training-grid {
    grid-template-columns: 1fr;
  }
}

/* Training card with price */
.gold-card-price {
  margin: 1rem 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.gold-price-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.gold-price-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f9e8b0;
}

/* Duration badge */
.gold-duration {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
