/* Research Intro Section */
.research-intro-section {
  padding: 48px 0 24px 0;
  background: linear-gradient(135deg, #f7faff 60%, #e3e9f7 100%);
  text-align: center;
}
.research-intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.research-intro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(30,60,120,0.08);
  padding: 8px;
  margin-bottom: 8px;
}
.research-intro-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #1976d2;
  margin-bottom: 0.5rem;
}
.research-intro-desc {
  color: #444;
  font-size: 1.1rem;
  max-width: 540px;
}

/* Section Titles */
.research-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 28px;
  text-align: center;
}

/* Section Divider */
.research-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px auto;
  height: 22px;
  width: 100%;
  max-width: 900px;
  opacity: 0.95;
  animation: dividerFadeIn 1s cubic-bezier(.77,0,.18,1);
}
.research-section-divider::before,
.research-section-divider::after {
  content: '';
  display: block;
  height: 4px;
  width: 100%;
  max-width: 320px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1976d2, #64b5f6);
  opacity: 0.18;
  animation: dividerLineAnim 1.2s cubic-bezier(.77,0,.18,1);
}
.research-section-divider::before { margin-right: 16px; }
.research-section-divider::after { margin-left: 16px; }
.research-section-divider .research-divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(30,60,120,0.08);
  padding: 2px;
  z-index: 2;
  animation: dividerIconAnim 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes dividerFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 0.95; transform: none; }
}
@keyframes dividerLineAnim {
  from { width: 0; opacity: 0; }
  to { width: 100%; opacity: 0.18; }
}
@keyframes dividerIconAnim {
  from { opacity: 0; transform: scale(0.7) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
@media (max-width: 700px) {
  .research-section-divider::before,
  .research-section-divider::after { max-width: 60px; }
}

/* Research Cards Section */
.research-cards-section {
  padding: 36px 0 24px 0;
  background: #f7faff;
}
.research-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px 18px;
  justify-items: center;
}
.research-card {
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(30,60,120,0.13), 0 2px 12px rgba(25,118,210,0.08);
  border: 2px solid #e3e9f7;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s, background 0.22s;
  backdrop-filter: blur(3px);
  max-width: 420px;
  width: 100%;
  min-height: 320px;
  position: relative;
  animation: certCardIn 0.8s cubic-bezier(.4,2,.6,1);
  cursor: pointer;
}
.research-card:hover {
  box-shadow: 0 16px 48px rgba(25,118,210,0.18), 0 4px 18px rgba(30,60,120,0.13);
  border-color: #1976d2;
  background: rgba(255,255,255,0.98);
  transform: translateY(-8px) scale(1.035);
}
.research-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #e3e9f7;
}
.research-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.research-card-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #1976d2;
  margin: 0 0 10px 0;
  text-align: left;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(25,118,210,0.07);
}
.research-card-desc {
  color: #444;
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 18px;
  text-align: left;
  flex-grow: 1;
}
.research-card-meta {
  color: #888;
  font-size: 0.98rem;
  font-weight: 500;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #e3e9f7;
}
.research-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #e3e9f7;
  color: #1976d2;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}
@media (max-width: 1100px) {
  .research-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .research-cards-grid { grid-template-columns: 1fr; gap: 18px 0; }
  .research-card { border-radius: 14px; min-height: 120px; }
  .research-card-title, .research-card-desc, .research-card-meta { padding: 0 12px; }
}

html[dir="rtl"] .research-intro-content,
html[dir="rtl"] .research-section-title,
html[dir="rtl"] .research-card-title,
html[dir="rtl"] .research-card-desc {
  text-align: right;
  direction: rtl;
}
html[dir="rtl"] .research-intro-content {
  align-items: flex-end;
}

/* Research Categories Section */
.research-categories {
  margin-top: 48px;
  padding: 32px 0;
}
.research-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.research-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(30,60,120,0.08);
  text-decoration: none;
  color: #1976d2;
  transition: all 0.3s ease;
}
.research-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(25,118,210,0.15);
  color: #1565c0;
}
.research-category i {
  font-size: 2rem;
  margin-bottom: 12px;
}
.research-category span {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 768px) {
  .research-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .research-categories-grid {
    grid-template-columns: 1fr;
  }
}
