/* Section-specific Styles */

/* About Section */
.about-photo {
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.13),
    0 2px 10px 0 rgba(0, 0, 0, 0.08),
    0 0 12px 3px rgba(0, 0, 0, 0.10),
    0 0 20px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.theme-dark .about-photo {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.4),
    0 2px 10px 0 rgba(255, 255, 255, 0.15),
    0 0 12px 3px rgba(255, 255, 255, 0.25),
    0 0 20px 6px rgba(255, 255, 255, 0.10);
}

.about-content {
  margin-left: 24px;
  margin-right: 24px;
  margin-bottom: 32px;
  gap: 40px;
}

/* Certificates Grid */
.certificates-grid-container {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}

.certificates-grid-container::-webkit-scrollbar {
  display: none;
}

.certificates-fade-top {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 1), rgba(17, 17, 17, 0));
  pointer-events: none;
  z-index: 10;
  margin-bottom: -40px;
}

.certificates-fade-bottom {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to top, rgba(17, 17, 17, 1), rgba(17, 17, 17, 0));
  pointer-events: none;
  z-index: 10;
}

.theme-light .certificates-fade-top {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.theme-light .certificates-fade-bottom {
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.certificates-grid {
  padding: 10px 0 110px 0;
}
