/* ==============================================================
   기업 인증 섹션 스타일
   ============================================================== */

/* 섹션 기본 설정 */
.company-certification-section {
  padding: 100px 0;
  background: linear-gradient(135deg,
    #f8f9fa 0%,
    #ffffff 25%,
    #f0f4f8 50%,
    #ffffff 75%,
    #f8f9fa 100%
  );
  position: relative;
  overflow: hidden;
}

.company-certification-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
    rgba(52, 168, 83, 0.08) 0%,  /* 구글 그린 연한 톤 */
    transparent 70%
  );
  border-radius: 50%;
}

.company-certification-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
    rgba(66, 133, 244, 0.08) 0%,  /* 구글 블루 연한 톤 */
    transparent 70%
  );
  border-radius: 50%;
}

/* 섹션 타이틀 */
.company-certification-section .section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #2c2c2c;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.3;
}

.company-certification-section .section-title span {
  color: #4285f4;
  position: relative;
}

.company-certification-section .section-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: #666;
  text-align: center;
  margin-bottom: 50px;
}

/* 컨텐츠 래퍼 */
.certification-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* 인증서 그리드 */
.certification-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

/* 인증 카드 */
.certification-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.certification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4285f4, #34a853);
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(66, 133, 244, 0.15);
}

/* 인증서 이미지 래퍼 - A4 비율 (1:1.414) */
.certification-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 141.4%; /* A4 비율 유지 (297/210 = 1.414) */
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid #e9ecef;
}

.certification-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 95%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.certification-card:hover .certification-image {
  transform: translate(-50%, -50%) scale(1.05);
}

/* 인증 뱃지 */
.certification-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4285f4, #34a853);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.certification-badge i {
  color: white;
  font-size: 24px;
}

/* 인증 정보 */
.certification-info {
  text-align: center;
}

.certification-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.certification-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

/* 하이라이트 텍스트 */
.certification-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #e8f0fe, #e8f5e9);
  padding: 8px 16px;
  border-radius: 20px;
  margin-top: 10px;
}

.highlight-text {
  font-size: 14px;
  font-weight: 600;
  color: #4285f4;
}

/* 인증 의미 설명 */
.certification-meaning {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
}

.meaning-content {
  display: flex;
  align-items: start;
  gap: 25px;
}

.meaning-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #34a853, #4285f4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meaning-icon i {
  color: white;
  font-size: 28px;
}

.meaning-text h4 {
  font-size: 20px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 12px;
}

.meaning-text p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.meaning-text strong {
  color: #4285f4;
  font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
  .company-certification-section {
    padding: 80px 20px;
  }
}

@media (max-width: 768px) {
  .company-certification-section {
    padding: 60px 20px;
  }

  .company-certification-section .section-title {
    font-size: 28px;
  }

  .company-certification-section .section-desc {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .certification-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .certification-image-wrapper {
    /* 모바일에서도 A4 비율 유지 */
  }

  .certification-card {
    padding: 25px;
  }

  .meaning-content {
    flex-direction: column;
    text-align: center;
  }

  .meaning-icon {
    margin: 0 auto;
  }

  .meaning-text h4 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .company-certification-section {
    padding: 50px 15px;
  }

  .company-certification-section .section-title {
    font-size: 24px;
  }

  .certification-image-wrapper {
    height: 200px;
  }

  .certification-card {
    padding: 20px;
  }

  .certification-info h3 {
    font-size: 18px;
  }

  .meaning-text p {
    font-size: 14px;
  }
}

/* 애니메이션 효과 (AOS 보강) */
[data-aos="fade-up"] .company-certification-section {
  transition: all 0.6s ease;
}